diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2010-11-02 13:03:05 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2010-11-02 13:11:34 -0500 |
commit | d7ce5d6926dffab8c167d41f4068d0f71c9beda7 (patch) | |
tree | e95f2f108c41553dde23942a1a0a487cfd40676a | |
parent | 890a6f79dd857bdfe03a3fbf4e79f2901d8b88d7 (diff) | |
download | bcfg2-d7ce5d6926dffab8c167d41f4068d0f71c9beda7.tar.gz bcfg2-d7ce5d6926dffab8c167d41f4068d0f71c9beda7.tar.bz2 bcfg2-d7ce5d6926dffab8c167d41f4068d0f71c9beda7.zip |
bcfg2-info: showentries matches argument length incorrectly
-rwxr-xr-x | src/sbin/bcfg2-info | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index d3a9bf8be..497c39174 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -303,7 +303,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core): def do_showentries(self, args): """Show abstract configuration entries for a given host.""" arglen = len(args.split()) - if arglen not in [2, 3]: + if arglen not in [1, 2]: print("Usage: showentries <hostname> <type>") return client = args.split()[0] |