aboutsummaryrefslogtreecommitdiffstats
path: root/src/test.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-27 22:44:01 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-27 22:44:01 +0200
commitd1ef8c1c0236cefec9a8cad12a816998bd670819 (patch)
tree17fb298d26680f02f4c3a4b96df097302beafac7 /src/test.c
parentissue 7, bash version (diff)
downloadargparser-d1ef8c1c0236cefec9a8cad12a816998bd670819.tar.gz
argparser-d1ef8c1c0236cefec9a8cad12a816998bd670819.tar.bz2
argparser-d1ef8c1c0236cefec9a8cad12a816998bd670819.tar.xz
issue 7, c version
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.c b/src/test.c
index 4e52f1e..9d65b2e 100644
--- a/src/test.c
+++ b/src/test.c
@@ -41,7 +41,7 @@ int main(int argc, char** argv)
"GNU Affero General Public License for more details.\n"
"\n"
"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);
+ "along with this library. If not, see <http://www.gnu.org/licenses/>.", 0, 1, 0, args_standard_abbreviations);
args_add_option(args_new_argumentless(NULL, 1, "-h", "-?", "--help", NULL), "Prints this help message\n(and exits)");
args_add_option(args_new_argumentless(NULL, 0, "--hello", NULL), "Prints the text: hello world");