summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-15 21:02:08 +0200
committerVolker Lendecke <vl@samba.org>2009-05-15 21:05:31 +0200
commit7d85bf2a4250942f4cbadc0d0bd0903388a15e47 (patch)
tree1ff3bb9ad4aa8e1172fb48922dc8a40d357cbc44
parentb0c399ce6015e8a96231d5e5e99e603d44e0cf57 (diff)
downloadsamba-7d85bf2a4250942f4cbadc0d0bd0903388a15e47.tar.gz
samba-7d85bf2a4250942f4cbadc0d0bd0903388a15e47.tar.bz2
samba-7d85bf2a4250942f4cbadc0d0bd0903388a15e47.zip
Fix bug 6361: Make --rcfile work in smbget
Thanks to j scott <gl@arlut.utexas.edu> for reporting!
-rw-r--r--source3/utils/smbget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c
index 042f3a98f7..b7d56cdcba 100644
--- a/source3/utils/smbget.c
+++ b/source3/utils/smbget.c
@@ -582,7 +582,7 @@ int main(int argc, const char **argv)
{"verbose", 'v', POPT_ARG_NONE, &verbose, 'v', "Be verbose" },
{"keep-permissions", 'P', POPT_ARG_NONE, &keep_permissions, 'P', "Keep permissions" },
{"blocksize", 'b', POPT_ARG_INT, &blocksize, 'b', "Change number of bytes in a block"},
- {"rcfile", 'f', POPT_ARG_STRING, NULL, 0, "Use specified rc file"},
+ {"rcfile", 'f', POPT_ARG_STRING, NULL, 'f', "Use specified rc file"},
POPT_AUTOHELP
POPT_TABLEEND
};