From 736f7f12708f08462a58abff83b6b649edbafdfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Wed, 29 Dec 2021 19:36:40 +1300 Subject: [PATCH] Reorder items in help output Apparently clap goes by the internal option name, not the display :( --- cli/tests/snapshots/help__help_unix.snap | 2 +- cli/tests/snapshots/help__help_windows.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/tests/snapshots/help__help_unix.snap b/cli/tests/snapshots/help__help_unix.snap index ae0386e1..06ab89eb 100644 --- a/cli/tests/snapshots/help__help_unix.snap +++ b/cli/tests/snapshots/help__help_unix.snap @@ -15,9 +15,9 @@ FLAGS: --no-default-ignore Skip auto-ignoring of commonly ignored globs --no-environment Do not set WATCHEXEC_*_PATH environment variables for the command --no-global-ignore Skip auto-loading of global or environment-wide ignore files - --no-ignore Skip auto-loading of project ignore files (.gitignore, .ignore, etc.) --no-meta Ignore metadata changes --no-process-group Do not use a process group when running the command + --no-ignore Skip auto-loading of project ignore files (.gitignore, .ignore, etc.) -n, --no-shell Do not wrap command in a shell. Deprecated: use --shell=none instead. --no-vcs-ignore Skip auto-loading of VCS (Git, etc) ignore files -N, --notify Send a desktop notification when the command ends diff --git a/cli/tests/snapshots/help__help_windows.snap b/cli/tests/snapshots/help__help_windows.snap index 8f82614b..627f1c2c 100644 --- a/cli/tests/snapshots/help__help_windows.snap +++ b/cli/tests/snapshots/help__help_windows.snap @@ -15,9 +15,9 @@ FLAGS: --no-default-ignore Skip auto-ignoring of commonly ignored globs --no-environment Do not set WATCHEXEC_*_PATH environment variables for the command --no-global-ignore Skip auto-loading of global or environment-wide ignore files - --no-ignore Skip auto-loading of project ignore files (.gitignore, .ignore, etc.) --no-meta Ignore metadata changes --no-process-group Do not use a process group when running the command + --no-ignore Skip auto-loading of project ignore files (.gitignore, .ignore, etc.) -n, --no-shell Do not wrap command in a shell. Deprecated: use --shell=none instead. --no-vcs-ignore Skip auto-loading of VCS (Git, etc) ignore files -N, --notify Send a desktop notification when the command ends