From 2071b5c073022f8970636481b295d7f93f40ffb2 Mon Sep 17 00:00:00 2001 From: Hiroki Osame Date: Mon, 20 Mar 2023 22:21:59 +0900 Subject: [PATCH] refactor: change fresh alias to -o for future `--force` flag --- README.md | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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', },