From: Philippe Proulx Date: Tue, 1 Jun 2021 15:42:56 +0000 (-0400) Subject: Parse `-` and `--` as non-option arguments X-Git-Url: http://git.efficios.com/?p=argpar.git;a=commitdiff_plain;h=dd757a651292048da829dd6fa085c1f107569bcc;hp=dd757a651292048da829dd6fa085c1f107569bcc Parse `-` and `--` as non-option arguments The `-` and `--` arguments are common in many Unix command-line tools. `--` often means "end of options" while `-` often means "read from standard input". Depending on the application, they can have different meanings. This patch makes argpar_iter_next() specifically parse `-` and `--` arguments as non-options. Signed-off-by: Philippe Proulx Change-Id: I3b3f1670863992a17a7edfabdc48c921f71cd4b6 ---