summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-admin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-04-02 18:27:22 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-04-02 18:27:22 +0000
commit74e5a39920606a8c6e4ef24c351480dba81f11eb (patch)
tree78bd8949e30191e4ca5afddab519b1faeff1eebc /src/sbin/bcfg2-admin
parentcab8218f070f9e00990583ef9ab596e094506ce7 (diff)
downloadbcfg2-74e5a39920606a8c6e4ef24c351480dba81f11eb.tar.gz
bcfg2-74e5a39920606a8c6e4ef24c351480dba81f11eb.tar.bz2
bcfg2-74e5a39920606a8c6e4ef24c351480dba81f11eb.zip
Fix bcfg2-admin pull, and update the help message to include it
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3004 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin/bcfg2-admin')
-rwxr-xr-xsrc/sbin/bcfg2-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin
index e794243ce..2539c42c1 100755
--- a/src/sbin/bcfg2-admin
+++ b/src/sbin/bcfg2-admin
@@ -15,7 +15,7 @@ usage = '''
bcfg2-admin [options]
fingerprint - print the server certificate fingerprint
init - initialize the bcfg2 repository( this is interactive; only run once )
-mineentry <client> <entry type> <entry name> - mine statistics for entry information
+pull <client> <entry type> <entry name> - mine statistics for entry information
minestruct <client> - mine statistics for extra entries
viz [--includehosts] [--includebundles] [--includekey] [-o output.png] [--raw]
client add name= profile= uuid= password= secure= location=
@@ -562,7 +562,7 @@ if __name__ == '__main__':
if len(args) != 4:
print usage
raise SystemExit, 1
- do_pull(configfile, Repopath, args[1], args[2], args[3])
+ do_pull(args[0], Repopath, args[1], args[2], args[3])
elif args[0] == 'minestruct':
do_minestruct(Repopath, args[1:])