diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-05-30 18:10:11 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-05-30 18:10:11 +0300 |
commit | d22d5aa5d79ab2a393fa759ef9775f9bdae11a00 (patch) | |
tree | 40a048de83d4ba226499d23ed8f9b0a7b2fe4af7 /src/opthelp.c | |
parent | 1d38d5397e97063f07e7ff84649debfdd5032ee7 (diff) | |
download | grecs-d22d5aa5d79ab2a393fa759ef9775f9bdae11a00.tar.gz grecs-d22d5aa5d79ab2a393fa759ef9775f9bdae11a00.tar.bz2 |
Bugfixes
* build-aux/yyrename: Split sed command into three -e
options: traditional sed doesn't like semicolons as
separators.
* src/opthelp.c (grecs_print_help): Remove superfluous const
qualifier.
Diffstat (limited to 'src/opthelp.c')
-rw-r--r-- | src/opthelp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opthelp.c b/src/opthelp.c index 75e48d2..8635b28 100644 --- a/src/opthelp.c +++ b/src/opthelp.c @@ -126,7 +126,7 @@ grecs_print_help(struct grecs_proginfo *pinfo) _("OPTION"), !ISEMPTY(pinfo->args_doc) ? gettext(pinfo->args_doc) : ""); if (pinfo->subcmd && pinfo->subcmd[1]) { - const char **p; + char **p; printf("%s: ", pinfo->subcmd[2] ? _("Aliases") : _("Alias")); for (p = pinfo->subcmd + 1; *p; p++) @@ -383,7 +383,7 @@ grecs_print_usage(struct grecs_proginfo *pinfo) FLUSH; if (pinfo->subcmd && pinfo->subcmd[1]) { - const char **p; + char **p; printf("%s: %s", pinfo->subcmd[2] ? _("Aliases") : _("Alias"), pinfo->progname); |