diff options
| author | 2023-06-29 14:50:59 +0600 | |
|---|---|---|
| committer | 2023-06-29 14:50:59 +0600 | |
| commit | 7dbe0361d79a273a2ffa3be5875721cca705ebfc (patch) | |
| tree | 7e508e5a6b8dbd2a4c04eb312b2e706650cfadb7 /bin | |
| parent | fmt: Add configuration (diff) | |
Run formatting for bin/janet-format and spork/fmt.janet
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/janet-format | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/bin/janet-format b/bin/janet-format index 4d919fc..59527fc 100644 --- a/bin/janet-format +++ b/bin/janet-format @@ -9,38 +9,38 @@ [&] (def ap - (argparse/argparse - "Format Janet source code in files and write output to those files." + (argparse/argparse + "Format Janet source code in files and write output to those files." - :default - {:kind :accumulate - :help "Files to format"} + :default + {:kind :accumulate + :help "Files to format"} - "files" - {:short "f" - :help "Format a list of source files." - :kind :flag} + "files" + {:short "f" + :help "Format a list of source files." + :kind :flag} - "output" - {:short "o" - :kind :option - :help "Where to direct output to. By default, output goes to stdout."} + "output" + {:short "o" + :kind :option + :help "Where to direct output to. By default, output goes to stdout."} - "input" - {:short "i" - :kind :option - :help "Read from an input file"} + "input" + {:short "i" + :kind :option + :help "Read from an input file"} - "config" - {:short "c" - :kind :option - :help "Which configuration file to read" - :default default-config} + "config" + {:short "c" + :kind :option + :help "Which configuration file to read" + :default default-config} - "no-config" - {:short "n" - :kind :flag - :help "Avoid loading any configuration"})) + "no-config" + {:short "n" + :kind :flag + :help "Avoid loading any configuration"})) # Break on help text (unless ap (break)) |
