[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47464] [PATCH 0/8] scripts: Allow option hint for various subcomman
From: |
zimoun |
Subject: |
[bug#47464] [PATCH 0/8] scripts: Allow option hint for various subcommands. |
Date: |
Mon, 29 Mar 2021 12:16:38 +0200 |
Hi,
The patch set replaces all the 'args-fold*' by 'parse-command-line'. Doing
so, all the option typos are hinted.
It could be only one commit (squashing) but it appeared me easier in case
something is wrong; I expect nothing! :-)
I have checked trying various combinations. Note that
"tests/guix-describe.sh" is SKIP because the test does not work when using
worktree.
Well, a double-check is really welcome. :-)
All the remaining subcommands---authenticate, container, git, import, offload
and substitute---needs a rewriting of how they parse the command line
arguments.
Cheers,
simon
zimoun (8):
scripts: describe: Replace 'args-fold*' by 'parse-command-line'.
scripts: discover: Replace 'args-fold*' by 'parse-command-line'.
scripts: download: Replace 'args-fold*' by 'parse-command-line'.
scripts: edit: Replace 'args-fold*' by 'parse-command-line'.
scripts: publish: Replace 'args-fold*' by 'parse-command-line'.
scripts: repl: Replace 'args-fold*' by 'parse-command-line'.
scripts: search: Replace 'args-fold*' by 'parse-command-line'.
scripts: show: Replace 'args-fold*' by 'parse-command-line'.
guix/scripts/describe.scm | 10 ++++------
guix/scripts/discover.scm | 12 ++++++------
guix/scripts/download.scm | 17 ++++++++---------
guix/scripts/edit.scm | 10 ++++------
guix/scripts/publish.scm | 12 ++++++------
guix/scripts/repl.scm | 11 +++++------
guix/scripts/search.scm | 9 ++++-----
guix/scripts/show.scm | 10 ++++------
8 files changed, 41 insertions(+), 50 deletions(-)
base-commit: 6e7ba45357078b31a369b23f8a9f38302dfcbb10
--
2.30.1
- [bug#47464] [PATCH 0/8] scripts: Allow option hint for various subcommands.,
zimoun <=
- [bug#47464] [PATCH 1/8] scripts: describe: Replace 'args-fold*' by 'parse-command-line'., zimoun, 2021/03/29
- [bug#47464] [PATCH 8/8] scripts: show: Replace 'args-fold*' by 'parse-command-line'., zimoun, 2021/03/29
- [bug#47464] [PATCH 4/8] scripts: edit: Replace 'args-fold*' by 'parse-command-line'., zimoun, 2021/03/29
- [bug#47464] [PATCH 2/8] scripts: discover: Replace 'args-fold*' by 'parse-command-line'., zimoun, 2021/03/29
- [bug#47464] [PATCH 5/8] scripts: publish: Replace 'args-fold*' by 'parse-command-line'., zimoun, 2021/03/29
- [bug#47464] [PATCH 3/8] scripts: download: Replace 'args-fold*' by 'parse-command-line'., zimoun, 2021/03/29
- [bug#47464] [PATCH 7/8] scripts: search: Replace 'args-fold*' by 'parse-command-line'., zimoun, 2021/03/29
- [bug#47464] [PATCH 6/8] scripts: repl: Replace 'args-fold*' by 'parse-command-line'., zimoun, 2021/03/29