diff options
author | Bjørn Erik Pedersen <[email protected]> | 2023-05-22 17:09:43 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-05-22 18:54:34 +0200 |
commit | 288be1976d766f8b5c693da1830866cff616241d (patch) | |
tree | a81b12dce3a8e4c6cf60dadcb2fa8b32e3ea01c9 /testscripts | |
parent | 9a0370e8eb71fed3ac04984020b6aa95c43f22ab (diff) | |
download | hugo-288be1976d766f8b5c693da1830866cff616241d.tar.gz hugo-288be1976d766f8b5c693da1830866cff616241d.zip |
Fix "unknown command" message when no suggestion
Updates #10953
Diffstat (limited to 'testscripts')
-rw-r--r-- | testscripts/commands/commands_errors.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testscripts/commands/commands_errors.txt b/testscripts/commands/commands_errors.txt index fcce6197f..54448361d 100644 --- a/testscripts/commands/commands_errors.txt +++ b/testscripts/commands/commands_errors.txt @@ -1,7 +1,12 @@ # Testing various error situations. ! hugo mods +stderr 'unknown command "mods" for "hugo"' stderr 'Did you mean this\?' ! hugo mod clea stderr 'Did you mean this\?' +stderr 'clean' + +! hugo mod foo +stderr 'unknown command "foo" for "hugo mod"'
\ No newline at end of file |