@@ -11,6 +11,7 @@ pub struct Args {
11 pub load_tutor: bool,
11 pub load_tutor: bool,
12 pub verbosity: u64,
12 pub verbosity: u64,
13 pub files: Vec<(PathBuf, Position)>,
13 pub files: Vec<(PathBuf, Position)>,
14+ pub edit_config: bool,
16impl Args {
17impl Args {
@@ -26,6 +27,7 @@ impl Args {
26 "--version" => args.display_version = true,
27 "--version" => args.display_version = true,
27 "--help" => args.display_help = true,
28 "--help" => args.display_help = true,
28 "--tutor" => args.load_tutor = true,
29 "--tutor" => args.load_tutor = true,
30+ "--edit-config" => args.edit_config = true,
29 "--health" => {
31 "--health" => {
30 args.health = true;
32 args.health = true;
31 args.health_arg = argv.next_if(|opt| !opt.starts_with('-'));
33 args.health_arg = argv.next_if(|opt| !opt.starts_with('-'));