From 241b21b0fd34d91fccb2ce69874110dceae6f926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 4 Jan 2023 18:24:36 +0100 Subject: Create a struct with all of Hugo's config options Primary motivation is documentation, but it will also hopefully simplify the code. Also, * Lower case the default output format names; this is in line with the custom ones (map keys) and how it's treated all the places. This avoids doing `stringds.EqualFold` everywhere. Closes #10896 Closes #10620 --- testscripts/commands/completion.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 testscripts/commands/completion.txt (limited to 'testscripts/commands/completion.txt') diff --git a/testscripts/commands/completion.txt b/testscripts/commands/completion.txt new file mode 100644 index 000000000..04d79e3a1 --- /dev/null +++ b/testscripts/commands/completion.txt @@ -0,0 +1,4 @@ +# Test the completion commands. + +hugo completion -h +stdout 'Generate the autocompletion script for hugo for the specified shell.' \ No newline at end of file -- cgit v1.2.3