We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d09f82a commit 7cbfd05Copy full SHA for 7cbfd05
1 file changed
internal/docgen/mintlify_test.go
@@ -278,6 +278,21 @@ func TestBacktickFlags(t *testing.T) {
278
input: "use -h for help",
279
want: "use `-h` for help",
280
},
281
+ {
282
+ name: "bare double-dash is not a flag",
283
+ input: "use -- to separate flags from args",
284
+ want: "use -- to separate flags from args",
285
+ },
286
287
+ name: "flag with equals value",
288
+ input: "use --output=json here",
289
+ want: "use `--output`=json here",
290
291
292
+ name: "numeric arg is not a flag",
293
+ input: "use -1 for default",
294
+ want: "use -1 for default",
295
296
}
297
for _, tt := range tests {
298
t.Run(tt.name, func(t *testing.T) {
0 commit comments