potiuk commented on a change in pull request #8261: Help for breeze commands 
contain relevant flags.
URL: https://github.com/apache/airflow/pull/8261#discussion_r407224326
 
 

 ##########
 File path: breeze
 ##########
 @@ -1188,35 +1242,36 @@ Help commands:
       echo
 }
 
-detailed_usage() {
-  SUBCOMMAND=${1}
+function detailed_usage() {
+      SUBCOMMAND=${1}
       echo "
+
+Detailed usage for command: ${SUBCOMMAND}
+
 ${CMDNAME} [FLAGS] ${SUBCOMMAND} -- <EXTRA_ARGS>
-$(get_detailed_usage "${SUBCOMMAND}")"
+$(get_detailed_usage "${SUBCOMMAND}")
+
+"
 }
 
-flag_footer() {
-    echo "
-Run '${CMDNAME} flags' to see available flags
+function flag_footer() {
+     echo "
+Run '${CMDNAME} flags' to see all  available applicable flags.
 "
 }
 
-flags() {
+function flag_airflow_variants() {
 
 Review comment:
   Yep. Much nicer.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to