Skip to content

Commit

Permalink
refactor: change fresh alias to -o for future --force flag
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Mar 20, 2023
1 parent 2d0fa98 commit 2071b5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ git-publish
| - | - |
| `-b, --branch <branch name>` | The branch to publish the package to. Defaults to prefixing "npm/" to the current branch or tag name. |
| `-r, --remote <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 |
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},

Expand Down

0 comments on commit 2071b5c

Please sign in to comment.