@@ -75,7 +75,7 @@ enum Commands {
7575 model_dir : PathBuf ,
7676 } ,
7777 /// Build and output commodity flow graphs for a model.
78- Graph {
78+ SaveGraphs {
7979 /// The path to the model directory.
8080 model_dir : PathBuf ,
8181 /// Other options
@@ -97,7 +97,9 @@ impl Commands {
9797 Self :: Run { model_dir, opts } => handle_run_command ( & model_dir, & opts, None ) ,
9898 Self :: Example { subcommand } => subcommand. execute ( ) ,
9999 Self :: Validate { model_dir } => handle_validate_command ( & model_dir, None ) ,
100- Self :: Graph { model_dir, opts } => handle_graph_command ( & model_dir, & opts, None ) ,
100+ Self :: SaveGraphs { model_dir, opts } => {
101+ handle_save_graphs_command ( & model_dir, & opts, None )
102+ }
101103 Self :: Settings { subcommand } => subcommand. execute ( ) ,
102104 }
103105 }
@@ -200,8 +202,8 @@ pub fn handle_validate_command(model_path: &Path, settings: Option<Settings>) ->
200202 Ok ( ( ) )
201203}
202204
203- /// Handle the `graph ` command.
204- pub fn handle_graph_command (
205+ /// Handle the `save-graphs ` command.
206+ pub fn handle_save_graphs_command (
205207 model_path : & Path ,
206208 opts : & GraphOpts ,
207209 settings : Option < Settings > ,
0 commit comments