Source: qcontrol
Severity: wishlist
Tags: patch,upstream
X-Debbugs-CC: elboulangero <elboulang...@gmail.com>

Hi Arnaud,

Thanks for these patches, I'm forwarding to the Debian BTS for safekeepping
until I get round to dealing with them.

Ian.
--- Begin Message ---
Here are two trivial patches for qcontrol, that just fix little details.
Thanks for maintaining qcontrol.

Best regards,

Arnaud


--- End Message ---
--- Begin Message ---
According to the help message, version is obtained with uppercase V.

Signed-off-by: elboulangero <elboulang...@gmail.com>
---
 qcontrol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qcontrol.c b/qcontrol.c
index 076c936..1c911c8 100644
--- a/qcontrol.c
+++ b/qcontrol.c
@@ -714,7 +714,7 @@ int main(int argc, char **argv)
                        {0, 0, 0, 0}
                };
 
-               int opt = getopt_long(argc, argv, "c:dfhv",
+               int opt = getopt_long(argc, argv, "c:dfhV",
                                      long_options, NULL);
 
                if (opt == -1)
-- 
2.6.2


--- End Message ---
--- Begin Message ---
Signed-off-by: elboulangero <elboulang...@gmail.com>
---
 system.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/system.c b/system.c
index 8b75d9a..9a43d91 100644
--- a/system.c
+++ b/system.c
@@ -37,7 +37,8 @@ static int system_init(int argc, const char **argv UNUSED)
 
        register_command("system-status",
                         "Signal system status",
-                        "",
+                        "Signal system status, options are:\n"
+                        "\tstart\n\tstop\n",
                         system_status);
        return 0;
 }
-- 
2.6.2


--- End Message ---

Reply via email to