unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47464] [PATCH 0/8] scripts: Allow option hint for various subcommands.
@ 2021-03-29 10:16 zimoun
  2021-03-29 10:17 ` [bug#47464] [PATCH 1/8] scripts: describe: Replace 'args-fold*' by 'parse-command-line' zimoun
  2021-04-01 12:57 ` bug#47464: [PATCH 0/8] scripts: Allow option hint for various subcommands Ludovic Courtès
  0 siblings, 2 replies; 10+ messages in thread
From: zimoun @ 2021-03-29 10:16 UTC (permalink / raw)
  To: 47464; +Cc: zimoun

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





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-04-01 13:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29 10:16 [bug#47464] [PATCH 0/8] scripts: Allow option hint for various subcommands zimoun
2021-03-29 10:17 ` [bug#47464] [PATCH 1/8] scripts: describe: Replace 'args-fold*' by 'parse-command-line' zimoun
2021-03-29 10:18   ` [bug#47464] [PATCH 2/8] scripts: discover: " zimoun
2021-03-29 10:18   ` [bug#47464] [PATCH 3/8] scripts: download: " zimoun
2021-03-29 10:18   ` [bug#47464] [PATCH 4/8] scripts: edit: " zimoun
2021-03-29 10:18   ` [bug#47464] [PATCH 5/8] scripts: publish: " zimoun
2021-03-29 10:18   ` [bug#47464] [PATCH 6/8] scripts: repl: " zimoun
2021-03-29 10:18   ` [bug#47464] [PATCH 7/8] scripts: search: " zimoun
2021-03-29 10:18   ` [bug#47464] [PATCH 8/8] scripts: show: " zimoun
2021-04-01 12:57 ` bug#47464: [PATCH 0/8] scripts: Allow option hint for various subcommands Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).