Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/kosli/attestGeneric_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (suite *AttestGenericCommandTestSuite) TestAttestGenericCmd() {
wantError: true,
name: "links to the boolean flags FAQ when a stray true|false argument remains",
cmd: fmt.Sprintf("attest generic foo false --artifact-type file --name bar %s", suite.defaultKosliArguments),
golden: "Error: accepts at most 1 arg(s), received 2 [foo false]\nSee https://docs.kosli.com//faq/#boolean-flags\n",
golden: "Error: accepts at most 1 arg(s), received 2 [foo false]\nSee https://docs.kosli.com/faq/#boolean-flags\n",
},
{
wantError: true,
Expand Down
2 changes: 1 addition & 1 deletion cmd/kosli/cli_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ func CustomMaximumNArgs(max int, args []string) error {

func BooleanArgsMessageLink(args []string) string {
if slices.Contains(args, "true") || slices.Contains(args, "false") {
return "\nSee https://docs.kosli.com//faq/#boolean-flags"
return "\nSee https://docs.kosli.com/faq/#boolean-flags"
} else {
return ""
}
Expand Down
Loading