Skip to content

Commit

Permalink
cleanup: feature "man-pages" > "separate-binaries"
Browse files Browse the repository at this point in the history
Rename some leftover (feature = "man-pages") to "separate-binaries"
which is more descriptive. This is still an un-implemented feature, but
it could be revived in the future for better user experience.
  • Loading branch information
bryango committed Oct 14, 2024
1 parent d191915 commit 8e8c91c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion git-branchless-init/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ tracing = { workspace = true }
assert_cmd = { workspace = true }

[features]
man-pages = []
separate-binaries = []
2 changes: 1 addition & 1 deletion git-branchless-init/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ fn uninstall_hooks(effects: &Effects, git_run_info: &GitRunInfo, repo: &Repo) ->
/// subcommand is included in the `man` invocation, so it can show more specific
/// help.
fn should_use_wrapped_command_alias() -> bool {
cfg!(feature = "man-pages")
cfg!(feature = "separate-binaries") // unimplemented
}

#[instrument]
Expand Down
2 changes: 1 addition & 1 deletion git-branchless/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ tracing-subscriber = { workspace = true }
insta = { workspace = true }

[features]
man-pages = []
separate-binaries = []

[package.metadata.release]
pre-release-replacements = [
Expand Down

0 comments on commit 8e8c91c

Please sign in to comment.