File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ pub fn create_app() -> App<'static, 'static> {
238238 . required ( true )
239239 . takes_value ( true ) ) )
240240
241- . subcommand ( SubCommand :: with_name ( "list -courses" )
241+ . subcommand ( SubCommand :: with_name ( "get -courses" )
242242 . about ( "List courses." )
243243 . arg ( Arg :: with_name ( "organization" )
244244 . help ( "Organization slug (e.g. mooc, hy)." )
Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ fn run() -> Result<()> {
628628 data : Some ( course_details) ,
629629 } ;
630630 print_output ( & output) ?;
631- } else if let Some ( matches) = matches. subcommand_matches ( "list -courses" ) {
631+ } else if let Some ( matches) = matches. subcommand_matches ( "get -courses" ) {
632632 let organization_slug = matches. value_of ( "organization" ) . unwrap ( ) ;
633633 let courses = core
634634 . list_courses ( organization_slug)
You can’t perform that action at this time.
0 commit comments