From 53c3b41e264101b94d67e8666094fa984176558e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 Jul 2016 23:29:06 +0200 Subject: Use ‘- ’ instead of ‘-#’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/coopgammad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coopgammad.c b/src/coopgammad.c index d88a950..cd30dbd 100644 --- a/src/coopgammad.c +++ b/src/coopgammad.c @@ -730,7 +730,7 @@ static char* reexecute(int preserve) destroy(0); - execlp(argv0_real ? argv0_real : argv0, argv0, "-#", statefile, preserve ? "-p" : NULL, NULL); + execlp(argv0_real ? argv0_real : argv0, argv0, "- ", statefile, preserve ? "-p" : NULL, NULL); saved_errno = errno; free(argv0_real), argv0_real = NULL; errno = saved_errno; @@ -831,7 +831,7 @@ int main(int argc, char** argv) case 'f': foreground = 1; break; case 'k': keep_stderr = 1; break; case 'q': query = 1 + !!query; break; - case '#': /* Internal, do not document */ + case ' ': /* Internal, do not document */ statefile = EARGF(usage()); break; default: -- cgit v1.2.3-70-g09d2