summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/bcfg2-info.84
-rwxr-xr-xsrc/sbin/bcfg2-info2
2 files changed, 3 insertions, 3 deletions
diff --git a/man/bcfg2-info.8 b/man/bcfg2-info.8
index f500bfa00..2bd20e338 100644
--- a/man/bcfg2-info.8
+++ b/man/bcfg2-info.8
@@ -3,7 +3,7 @@
bcfg2-info \- Creates a local version of the bcfg2 server core for
state observation
.SH SYNOPSIS
-.B bcfg2-info [-c <config file>]
+.B bcfg2-info [-C <config file>]
.SH DESCRIPTION
.PP
.B bcfg2-info
@@ -11,7 +11,7 @@ Instantiate an instance of the Bcfg2 core for data examination and
debugging purposes.
.SH OPTIONS
.PP
-.B "\-c <config file>"
+.B "\-C <config file>"
.RS
Specify an alternative location for bcfg2.conf. (Default
/etc/bcfg2.conf)
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index 989139bc5..b8a62cb33 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -179,7 +179,7 @@ if __name__ == '__main__':
'bundles': doBundles, 'clients': doClients, 'generators': doGenerators,
'groups': doGroups, 'help': doHelp, 'mappings': doMappings, 'quit': doQuit,
'showentries': doShowentries, 'update': doUpdate, 'version': doVersion}
- if '-c' in sys.argv:
+ if '-C' in sys.argv:
cfile = sys.argv[-1]
else:
cfile = '/etc/bcfg2.conf'