aboutsummaryrefslogtreecommitdiffstats
path: root/src/test.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-18 17:45:03 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-18 17:45:03 +0200
commit8df963da31c82d2f691da67272ff1091a269bede (patch)
treef8ea9e4ba51fd2719525a87a92b549a50560d0d1 /src/test.c
parentimplement colour settings for help in bash version (diff)
downloadargparser-8df963da31c82d2f691da67272ff1091a269bede.tar.gz
argparser-8df963da31c82d2f691da67272ff1091a269bede.tar.bz2
argparser-8df963da31c82d2f691da67272ff1091a269bede.tar.xz
some c fixes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test.c b/src/test.c
index 41c9bce..c02c80c 100644
--- a/src/test.c
+++ b/src/test.c
@@ -43,8 +43,8 @@ int main(int argc, char** argv)
"You should have received a copy of the GNU Affero General Public License\n"
"along with this library. If not, see <http://www.gnu.org/licenses/>.", 0, 1, 0);
- args_add_option(args_new_argumentless(0, "-h", "-?", "--help", NULL), "Prints this help message\n(and exits)");
- args_add_option(args_new_argumentless(0, "--hello", NULL), "Prints the text: hello world'");
+ args_add_option(args_new_argumentless(1, "-h", "-?", "--help", NULL), "Prints this help message\n(and exits)");
+ args_add_option(args_new_argumentless(0, "--hello", NULL), "Prints the text: hello world");
args_add_option(args_new_argumentless(0, "++hidden", NULL), 0);
args_add_option(args_new_argumented("LINE", 0, "-l", "--line", NULL), "Prints the choosen line");