Skip to content

Commit

Permalink
docs: update README.md for hg (#18)
Browse files Browse the repository at this point in the history
Stage doesn't exist in Mercurial. Also the default branch is 'default'
  • Loading branch information
tobiastimm authored and azz committed Feb 11, 2018
1 parent fca1264 commit 741d8fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ In `package.json`'s `"scripts"` section, add:

## CLI Flags

### `--staged`
### `--staged` (only git)

Pre-commit mode. Under this flag only staged files will be formatted, and they will be re-staged after formatting.

### `--branch`

When not in `staged` pre-commit mode, use this flag to compare changes with the specified branch. Defaults to `master` branch.
When not in `staged` pre-commit mode, use this flag to compare changes with the specified branch. Defaults to `master` (git) / `default` (hg) branch.

<!-- Undocumented = Unsupported :D
Expand Down

0 comments on commit 741d8fc

Please sign in to comment.