Author: jmcd
Date: 2005-09-15 20:39:57 +0000 (Thu, 15 Sep 2005)
New Revision: 10247

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10247

Log:
Fix help text for net rpc shutdown.

Modified:
   branches/SAMBA_3_0/source/utils/net_rpc.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_rpc.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_rpc.c   2005-09-15 20:03:35 UTC (rev 
10246)
+++ branches/SAMBA_3_0/source/utils/net_rpc.c   2005-09-15 20:39:57 UTC (rev 
10247)
@@ -4469,7 +4469,10 @@
 
        if (opt_comment) {
                msg = opt_comment;
+       } else {
+               msg = "";
        }
+
        if (opt_timeout) {
                timeout = opt_timeout;
        }
@@ -5965,7 +5968,7 @@
        d_printf("\t-r or --reboot\trequest remote server reboot on 
shutdown\n");
        d_printf("\t-f or --force\trequest the remote server force its 
shutdown\n");
        d_printf("\t-t or --timeout=<timeout>\tnumber of seconds before 
shutdown\n");
-       d_printf("\t-c or --comment=<message>\ttext message to display on 
impending shutdown\n");
+       d_printf("\t-C or --comment=<message>\ttext message to display on 
impending shutdown\n");
        return -1;
 }
 

Reply via email to