aboutsummaryrefslogtreecommitdiff
path: root/src/args.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2024-11-13 20:34:47 -0700
committerMelody Horn <melody@boringcactus.com>2024-11-13 20:34:47 -0700
commit299df7dd015afc97f996b3664b3a5f56c4ba0e24 (patch)
treedff8d0e3a65f281e709476701311a62154da50e1 /src/args.rs
parent33d617d53584ae534e24fbc313ca0b3cc816a103 (diff)
downloadmakers-299df7dd015afc97f996b3664b3a5f56c4ba0e24.tar.gz
makers-299df7dd015afc97f996b3664b3a5f56c4ba0e24.zip
fix attribute formatting
Diffstat (limited to 'src/args.rs')
-rw-r--r--src/args.rs13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/args.rs b/src/args.rs
index 558a0b1..9044802 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -125,12 +125,21 @@ pub struct Args {
// TODO implement
// TODO automatically with -C or recursion or decide that this is a bad GNU feature
#[cfg(feature = "full")]
- #[clap(short = 'w', long, overrides_with = "print_directory", overrides_with = "no_print_directory")]
+ #[clap(
+ short = 'w',
+ long,
+ overrides_with = "print_directory",
+ overrides_with = "no_print_directory"
+ )]
pub print_directory: bool,
/// Do not print the working directory when starting, even when running with -C or recursively.
#[cfg(feature = "full")]
- #[clap(long, overrides_with = "print_directory", overrides_with = "no_print_directory")]
+ #[clap(
+ long,
+ overrides_with = "print_directory",
+ overrides_with = "no_print_directory"
+ )]
pub no_print_directory: bool,
/// Target names or macro definitions.