Skip to content

Commit

Permalink
Add more options
Browse files Browse the repository at this point in the history
  • Loading branch information
seonggwonyoon committed Jun 5, 2021
1 parent a40e775 commit 36e9561
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions dev/more.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,50 @@
export const completionSpec: Fig.Spec = {
name: "more",
description: "opposite of less",
options: [
{
name: ["-d, --slient"],
description:
"Prompt with '[Press space to continue, 'q' to quit.]', and display '[Press 'h' for instructions.]' instead of ringing the bell when an illegal key is pressed.",
},
{
name: ["-l, --logical"],
description: "Do not pause after any line containing a ^L (form feed).",
},
{
name: ["-f", "--no-pause"],
description: "Count logical lines, rather than screen lines",
},
{
name: ["-p", "--print-over"],
description: "Instead, clear the whole screen and then display the text.",
},
{
name: ["-c", "--clean-print"],
description:
"Instead, paint each screen from the top, clearing the remainder of each line as it is displayed.",
},
{
name: ["-s", "--squeeze"],
description: "Squeeze multiple blank lines into one.",
},
{
name: ["-u", "--plain"],
description: "Silently ignored as backwards compatibility.",
},
{
name: ["-n", "--lines"],
description: "Specify the number of lines per screenful.",
},
{
name: "--help",
description: "Display help text.",
},
{
name: ["-V", "--version"],
description: "Display version information.",
},
],
args: {
variadic: true,
template: "filepaths",
Expand Down

0 comments on commit 36e9561

Please sign in to comment.