diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-08-18 17:45:03 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-08-18 17:45:03 +0200 |
commit | 8df963da31c82d2f691da67272ff1091a269bede (patch) | |
tree | f8ea9e4ba51fd2719525a87a92b549a50560d0d1 /src/test.c | |
parent | implement colour settings for help in bash version (diff) | |
download | argparser-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |