From 741d8fc21fc83a329bb213621c159e920d3459d9 Mon Sep 17 00:00:00 2001 From: Tobias Timm Date: Sun, 11 Feb 2018 02:43:16 +0100 Subject: [PATCH] docs: update README.md for hg (#18) Stage doesn't exist in Mercurial. Also the default branch is 'default' --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fd896a1..310c5ff 100644 --- a/README.md +++ b/README.md @@ -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.