1
0
Selaa lähdekoodia

Fix help for konf and konfd

git-svn-id: https://klish.googlecode.com/svn/trunk@232 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev 14 vuotta sitten
vanhempi
commit
5dfc1dac2c
2 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 3 3
      bin/konf.c
  2. 3 3
      bin/konfd.c

+ 3 - 3
bin/konf.c

@@ -162,9 +162,9 @@ static void help(int status, const char *argv0)
 		printf("Utility for communication to the konfd "
 			"configuration daemon.\n");
 		printf("Options:\n");
-		printf("\t-v --version\t\tPrint utility version.\n");
-		printf("\t-h --help\t\tPrint this help.\n");
-		printf("\t-s --socket <path>\tSpecify listen socket "
+		printf("\t-v, --version\tPrint utility version.\n");
+		printf("\t-h, --help\tPrint this help.\n");
+		printf("\t-s <path>, --socket=<path>\tSpecify listen socket "
 			"of the konfd daemon.\n");
 	}
 }

+ 3 - 3
bin/konfd.c

@@ -412,9 +412,9 @@ static void help(int status, const char *argv0)
 		printf("Daemon to store user configuration (i.e. commands). "
 			"The part of the klish project.\n");
 		printf("Options:\n");
-		printf("\t-v --version\t\tPrint version.\n");
-		printf("\t-h --help\t\tPrint this help.\n");
-		printf("\t-s --socket <path>\tSpecify the UNIX socket "
+		printf("\t-v, --version\tPrint version.\n");
+		printf("\t-h, --help\tPrint this help.\n");
+		printf("\t-s <path>, --socket=<path>\tSpecify the UNIX socket "
 			"filesystem path to listen on.\n");
 	}
 }