diff --git a/README.md b/README.md index 69a6001..5763026 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ git-publish | - | - | | `-b, --branch ` | The branch to publish the package to. Defaults to prefixing "npm/" to the current branch or tag name. | | `-r, --remote ` | The remote to push to. (default: `origin`) | -| `-f, --fresh` | Publish without a commit history. Warning: Force-pushes to remote | +| `-o, --fresh` | Publish without a commit history. Warning: Force-pushes to remote | | `-d, --dry` | Dry run mode. Will not commit or push to the remote. | | `-h, --help` | Show help | | `--version` | Show version | diff --git a/src/index.ts b/src/index.ts index 1088b28..0660eef 100644 --- a/src/index.ts +++ b/src/index.ts @@ -34,7 +34,7 @@ const { stringify } = JSON; fresh: { type: Boolean, - alias: 'f', + alias: 'o', description: 'Publish without a commit history. Warning: Force-pushes to remote', },