X-Git-Url: http://git.efficios.com/?p=argpar.git;a=blobdiff_plain;f=argpar%2Fargpar.h;h=be715131d5628c3018393a7d436b92ae2744e4e7;hp=453f53385eec786140b425eae1f9d157b2cbeda1;hb=dd757a651292048da829dd6fa085c1f107569bcc;hpb=a29790113ff3345f42834c3d9be99bb8055ff071 diff --git a/argpar/argpar.h b/argpar/argpar.h index 453f533..be71513 100644 --- a/argpar/argpar.h +++ b/argpar/argpar.h @@ -67,10 +67,7 @@ * * * Non-option arguments (anything else). * - * The argpar parsers don't accept `-` or `--` as arguments. The latter - * means "end of options" for many command-line tools, but this library - * is all about keeping the order of the arguments, so it doesn't mean - * much to put them at the end. This has the side effect that a + * The argpar parsers parse `-` and `--` as non-option arguments. A * non-option argument cannot have the form of an option, for example if * you need to pass the exact relative path `--component`. In that case, * you would need to pass `./--component`. There's no generic way to @@ -128,7 +125,7 @@ struct argpar_opt_descr { /* Short option character, or `\0` */ const char short_name; - /* Long option name (without `--`), or `NULL` */ + /* Long option name (without the `--` prefix), or `NULL` */ const char * const long_name; /* True if this option has an argument */