aboutsummaryrefslogtreecommitdiffhomepage
path: root/fishd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fishd.c')
-rw-r--r--fishd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/fishd.c b/fishd.c
index 998b6550..0437c09e 100644
--- a/fishd.c
+++ b/fishd.c
@@ -73,6 +73,7 @@ time the original barrier request was sent have been received.
#include "halloc.h"
#include "halloc_util.h"
#include "path.h"
+#include "print_help.h"
/**
Maximum length of socket filename
@@ -141,11 +142,6 @@ static int sock;
static int quit=0;
/**
- Dynamically generated function, made from the documentation in doc_src.
-*/
-void print_help();
-
-/**
Constructs the fish socket filename
*/
static char *get_socket_filename()
@@ -620,7 +616,7 @@ int main( int argc, char ** argv )
break;
case 'h':
- print_help();
+ print_help( argv[0], 1 );
exit(0);
case 'v':