summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md7
-rw-r--r--src/parser.rs2
2 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 102b459..28b8d1c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Changed
+
+- Commands that aren't meant to be used interactively (`git-upload-pack` and
+ `git-receive-pack`) no longer appear when you use the `help` command. These
+ commands still exist and work as before, so that they can be used by `git
+ fetch` and `git push`.
+
## [0.3.0] - 2023-08-18
### Added
diff --git a/src/parser.rs b/src/parser.rs
index 5806cec..27feaf6 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -23,8 +23,10 @@ pub enum ShackleCommand {
/// Quit the shell
Exit,
/// Server side command required to git fetch from the server
+ #[command(hide = true)]
GitUploadPack(GitUploadPackArgs),
/// Server side command required by git push to the server
+ #[command(hide = true)]
GitReceivePack(GitReceivePackArgs),
}