mirror of
https://github.com/jht5945/prettyjson.git
synced 2025-12-27 17:20:05 +08:00
modify Options
This commit is contained in:
@@ -31,8 +31,7 @@ Written by Hatter Jiang
|
||||
|
||||
|
||||
fn main() {
|
||||
let mut options = Options::new();
|
||||
options.parse_args();
|
||||
let options = Options::parse_args_static();
|
||||
|
||||
if options.verbose {
|
||||
print_message(MessageType::DEBUG, &format!("{} version: {}, git hash: {}", NAME, VERSION, GIT_HASH));
|
||||
|
||||
Reference in New Issue
Block a user