Skip to content

Commit

Permalink
Merge pull request #9 from frederikstroem/release-v0.3.1
Browse files Browse the repository at this point in the history
v0.3.1
  • Loading branch information
frederikstroem committed Jan 16, 2024
2 parents 19ea308 + e00bb6b commit e9b8d21
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add video/gif demo to README.md
- Improve code quality and structure
## [v0.3.1] - 2024-01-16
### Fixed
- Fixed `psource --help` output in `README.md`.
## [v0.3.0] - 2024-01-16
### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "psource"
version = "0.3.0"
version = "0.3.1"
authors = ["Frederik Holm Strøm <crates.io@frederikstroem.com>"]
description = "CLI tool to pretty print source code to stdout or directly to the clipboard."
edition = "2021"
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ psource will look for a configuration file in the following `$HOME/.config/psour
## Get started
Get help:
```plaintext
psource --help
$ psource --help
CLI tool to pretty print source code to stdout or directly to the clipboard. Skips binary files.
Usage: psource [OPTIONS] <INPUT>...
Expand All @@ -75,6 +75,7 @@ Options:
-s, --stdout Print the source code to stdout
-c, --copy Copy the source code to the clipboard
-a, --ancestry <ANCESTRY> Display the file's ancestry in the output path by including the specified number of parent directories relative to the current working directory, or 0 to omit the ancestry [default: 1]
-g, --git-ancestry Display the file's ancestry in the output path, including parent directories from the current working directory within a Git repository to its root, unlike the fixed number specified by the 'ancestry' option
-h, --help Print help
-V, --version Print version
```
Expand Down

0 comments on commit e9b8d21

Please sign in to comment.