gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 1edbf24: Table: correct option demos in output


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 1edbf24: Table: correct option demos in output of --help
Date: Fri, 20 Sep 2019 12:15:36 -0400 (EDT)

branch: master
commit 1edbf248b76b500edcbd4a830588355864173caa
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Table: correct option demos in output of --help
    
    It wasn't clear that the `--equal' and `--notequal' options can optionally
    take more than one value. Also, for the `--sort' option, the `STR,INT'
    could be interpretted as needing a string and an integer. So it is now
    `STR/INT'.
---
 bin/table/args.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/table/args.h b/bin/table/args.h
index 2f2506e..11d2c21 100644
--- a/bin/table/args.h
+++ b/bin/table/args.h
@@ -130,7 +130,7 @@ struct argp_option program_options[] =
     {
       "equal",
       UI_KEY_EQUAL,
-      "STR,FLT,FLT",
+      "STR,FLT[,...]",
       0,
       "Column, values to keep in output.",
       UI_GROUP_OUTROWS,
@@ -144,7 +144,7 @@ struct argp_option program_options[] =
     {
       "notequal",
       UI_KEY_NOTEQUAL,
-      "STR,FLT,FLT",
+      "STR,FLT[,...]",
       0,
       "Column, values to remove from output.",
       UI_GROUP_OUTROWS,
@@ -158,7 +158,7 @@ struct argp_option program_options[] =
     {
       "sort",
       UI_KEY_SORT,
-      "STR,INT",
+      "STR/INT",
       0,
       "Column name or number for sorting.",
       UI_GROUP_OUTROWS,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]