Skip to content

Commit

Permalink
List available commands
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Nov 6, 2016
1 parent 69c1342 commit 0ffaa35
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions utils/deftld.rb
Expand Up @@ -134,6 +134,14 @@ def validate
options = {}
OptionParser.new do |opts|
opts.banner = "Usage: deftld command [options]"
opts.separator <<~EOS
Commands:
\tadd
\tupdate
Options:
EOS

TldDefs::TldDef::ATTRIBUTES.each do |key, _|
opts.on("--#{key} [VALUE]", String, "set the #{key}") do |value|
Expand Down

0 comments on commit 0ffaa35

Please sign in to comment.