Skip to content

Commit 7ddc655

Browse files
committed
verbose logging only through environment variables
1 parent 5ecced2 commit 7ddc655

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ A clear and concise description of what you expected to happen.
2727
- Can you give us a reference to the project that you are running against this tool? [e.g. No if it's a close source project, but in case of an open source project a link to the sources could be nice.]
2828
- What build tools this project is using? [e.g. GNU make wtih `configure` script]
2929
- What architecture you are trying to compile for? [e.g. cross compiling]
30-
- Could you attach build logs? If you can re-run the command which failed (e.g. `bear -- make`) with extra verbose log switches (e.g. `bear --verbose -- make`) and send the output of it, that would help a lot.
30+
- Could you attach build logs? If you can re-run the command which failed (e.g. `bear -- make`) with debug logs enabled (`RUST_LOG=debug bear -- make`) and send the output of it, that would help a lot.
3131

3232
**Before you send...**
3333
- Have you read the `README.md` file or `man bear`?

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Thank you for taking the time to contribute!
88

99
- Ensure that the bug was not already reported by searching on GitHub under Issues.
1010

11-
- If you have not found an open issue addressing the problem, open a new one. Be sure to include a title and clear description, with as much relevant information as possible. You might also attach the output of the tool, this case try to run it with verbose flags.
11+
- If you have not found an open issue addressing the problem, open a new one. Be sure to include a title and clear description, with as much relevant information as possible. You might also attach the output of the tool, this case try to run verbose mode.
1212

1313
- For more detailed information on submitting a bug report and creating an issue, visit our reporting guidelines.
1414

bear/src/args.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,7 @@ pub fn cli() -> Command {
161161
.subcommand_negates_reqs(true)
162162
.subcommand_precedence_over_arg(true)
163163
.arg_required_else_help(true)
164-
.args(&[
165-
arg!(-v --verbose ... "Sets the level of verbosity").action(ArgAction::Count),
166-
arg!(-c --config <FILE> "Path of the config file"),
167-
])
164+
.args(&[arg!(-c --config <FILE> "Path of the config file")])
168165
.subcommand(
169166
Command::new(MODE_INTERCEPT_SUBCOMMAND)
170167
.about("intercepts command execution")

0 commit comments

Comments
 (0)