diff options
author | elijah <elijah@riseup.net> | 2016-04-12 11:07:26 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-04-12 11:07:26 -0700 |
commit | aec082688b8c20b5cd549feb81d1003847d5f744 (patch) | |
tree | dc34bedf68d2fffe70157cf66d30b6e4d35f6804 /lib/leap_cli | |
parent | 53fdac31bce3a66b37811dbe81e3d3f71c533a0c (diff) |
leap_cli: rename 'debug' command to 'info' command, since --debug is already a thing.
Diffstat (limited to 'lib/leap_cli')
-rw-r--r-- | lib/leap_cli/commands/info.rb (renamed from lib/leap_cli/commands/debug.rb) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/leap_cli/commands/debug.rb b/lib/leap_cli/commands/info.rb index a969b752..52225a94 100644 --- a/lib/leap_cli/commands/debug.rb +++ b/lib/leap_cli/commands/info.rb @@ -1,9 +1,9 @@ module LeapCli; module Commands - desc 'Output debug information.' + desc 'Prints information regarding facts, history, and running processes for a node or nodes.' long_desc 'The FILTER can be the name of a node, service, or tag.' arg_name 'FILTER' - command [:debug, :d] do |c| + command [:info] do |c| c.action do |global,options,args| nodes = manager.filter!(args) ssh_connect(nodes, connect_options(options)) do |ssh| |