aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-03-05 22:39:49 +0000
committerNick Mathewson <nickm@torproject.org>2008-03-05 22:39:49 +0000
commit670f4c19af0431a239455da4bb214f76b40c3442 (patch)
tree978e3692a40fee821f0389e28fd906d91f19ef66 /src/tools
parentf56ba5f3d62cc6a50432466d7202733d909a1ca6 (diff)
downloadtor-670f4c19af0431a239455da4bb214f76b40c3442.tar
tor-670f4c19af0431a239455da4bb214f76b40c3442.tar.gz
r18632@catbus: nickm | 2008-03-05 17:38:52 -0500
Patch from karsten: proper error message from tor-gencert when no argument is given to --passphrase-fd svn:r13876
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tor-gencert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c
index 291266824..1f4b2c5e5 100644
--- a/src/tools/tor-gencert.c
+++ b/src/tools/tor-gencert.c
@@ -179,7 +179,7 @@ parse_commandline(int argc, char **argv)
make_new_id = 1;
} else if (!strcmp(argv[i], "--passphrase-fd")) {
if (i+1>=argc) {
- fprintf(stderr, "No argument to -m\n");
+ fprintf(stderr, "No argument to --passphrase-fd\n");
return 1;
}
passphrase_fd = atoi(argv[++i]);