From 9be56dc75e33bc4e134e4729b9567f88cede7ad2 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 2 Jun 2021 21:50:45 +0000 Subject: refactor(process): nitrous as hidden directory --- src/cli.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index f5cc080..3b1046d 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -58,10 +58,10 @@ impl Cli { .value_of("file"); if argument.is_some() { argument.unwrap() - } else if std::fs::File::open("nitrous/codes.txt").is_err() { + } else if std::fs::File::open(".nitrous/codes.txt").is_err() { panic!("cannot open nitrous generated codes.txt"); } else { - "nitrous/codes.txt" + ".nitrous/codes.txt" } }, debug, @@ -104,7 +104,7 @@ impl Cli { .long_about( "Check a file of Discord Nitro codes for valid/ invalid codes.\n\nIf a codes file is \ not explicitly specified, the check routine will run on a default file value of \ - `./nitrous/codes.txt`. If you would like to override this behaviour, specify your \ + `./.nitrous/codes.txt`. If you would like to override this behaviour, specify your \ file after the subcommand.", ) .arg( -- cgit v1.2.3