summaryrefslogtreecommitdiff
path: root/std/prettier/main.ts
diff options
context:
space:
mode:
authorRy Dahl <ry@tinyclouds.org>2019-11-26 08:06:32 -0800
committerGitHub <noreply@github.com>2019-11-26 08:06:32 -0800
commitc016684653df45c3c3bc88d79dfc295ea5c6426f (patch)
tree3cced64c9bace85163f5b4b0f4882a6548fa2905 /std/prettier/main.ts
parentf88dc4e197f36842b13843dd88da3d74d67578e5 (diff)
refactor: reorganize flags (#3389)
- Remove ability to specify run arguments like `--allow-net` after the script argument. It's too hacky to make work with clap. - Remove `--v8-options`, instead use `--v8-flags=--help` - Give more descriptive names to unit tests in flags.rs - Assume argv and subcommand into DenoFlags struct so the output of flags module is only DenoFlags rather than the tuple (subcommand, flags, argv). - Improve CLI help text - Make `deno run` specific args like `--allow-net` only show up in 'deno help run' instead of as global flags in `deno help`. - Removes `deno version` to simplify our implementation and be closer to clap defaults. `deno -V` now only shows Deno's version and not V8's nor TypeScript. `Deno.versions` can be used to see that information. - Prevent clap from auto-detecting terminal width and attempting to wrap text.
Diffstat (limited to 'std/prettier/main.ts')
0 files changed, 0 insertions, 0 deletions