Skip to content

Commit

Permalink
Change binary name to swcc in --help
Browse files Browse the repository at this point in the history
`saltwater` -> `swcc` after `usage:` for `--help` output.

(ref. jyn514#504)
  • Loading branch information
ryankeleti committed Aug 12, 2020
1 parent 580a52a commit e93864b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const HELP: &str = concat!(
env!("CARGO_PKG_DESCRIPTION"), "\n",
"Homepage: ", env!("CARGO_PKG_REPOSITORY"), "\n",
"\n",
"usage: ", env!("CARGO_PKG_NAME"), " [FLAGS] [OPTIONS] [<file>]
"usage: swcc [FLAGS] [OPTIONS] [<file>]
FLAGS:
--debug-ast If set, print the parsed abstract syntax tree (AST) in addition to compiling.
Expand Down Expand Up @@ -61,8 +61,8 @@ ARGS:

const USAGE: &str = "\
usage: swcc [--help | -h] [--version | -V] [--debug-ir] [--debug-ast] [--debug-lex]
[--debug-hir] [--jit] [--no-link | -c] [--preprocess-only | -E]
[-I <dir>] [-D <id[=val]>] [<file>]";
[--debug-hir] [--jit] [--no-link | -c] [--preprocess-only | -E]
[-I <dir>] [-D <id[=val]>] [<file>]";

struct BinOpt {
/// The options that will be passed to `compile()`
Expand Down

0 comments on commit e93864b

Please sign in to comment.