Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37600770
en ru br
ALT Linux repos
S:0.1-alt2
5.0: 0.1-alt1
4.1: 0.1-alt1
4.0: 0.1-alt1

Group :: Networking/Other
RPM: ltspinfod

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ltspinfod-0.1-help.patch
Download


diff -urN ltspinfod-0.1.orig/ltspinfod.c ltspinfod-0.1/ltspinfod.c
--- ltspinfod-0.1.orig/ltspinfod.c	2003-11-03 01:06:23 +0200
+++ ltspinfod-0.1/ltspinfod.c	2007-05-25 18:41:19 +0300
@@ -455,9 +455,15 @@
 
 void usage()
 {
-  fprintf(stderr,"\nUsage: ltspinfod [{-p|--port} <portnum>]    default=9200\n");
-  fprintf(stderr,"               [{-x|--debug}]             Turn on debugging\n");
-  fprintf(stderr,"               [{-v|--version}]           Display version\n");
+  fprintf(stderr,"\n"
+                 "Usage: ltspinfod [{-p|--port} <portnum>]    default=9200\n"
+		 "                 [{-h|--help}]              This help\n"
+		 "                 [{-x|--debug}]             Turn on debugging\n"
+		 "                 [{-n|--nodaemon}]          Don't daemonize\n"
+                 "                 [{-v|--version}]           Display version\n"
+		 "                 [{-s|--allow_shutdown}]    Allow shutdown\n"
+		 "                 [{-r|--allow_procread}]    Allow read /proc\n"
+    );
   exit(1);
 }
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin