From commits-return-89347-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Mon Jan 13 16:27:09 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A6DCD18064E for ; Mon, 13 Jan 2020 17:27:09 +0100 (CET) Received: (qmail 61333 invoked by uid 500); 13 Jan 2020 16:27:08 -0000 Mailing-List: contact commits-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.apache.org Delivered-To: mailing list commits@airflow.apache.org Received: (qmail 61324 invoked by uid 99); 13 Jan 2020 16:27:08 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jan 2020 16:27:08 +0000 From: GitBox To: commits@airflow.apache.org Subject: [GitHub] [airflow] mik-laj commented on a change in pull request #7148: [AIRFLOW-6472] Correct short option in cli Message-ID: <157893282887.2367.14924671059580831910.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Mon, 13 Jan 2020 16:27:08 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit mik-laj commented on a change in pull request #7148: [AIRFLOW-6472] Correct short option in cli URL: https://github.com/apache/airflow/pull/7148#discussion_r365898286 ########## File path: UPDATING.md ########## @@ -57,6 +57,26 @@ https://developers.google.com/style/inclusive-documentation --> +### Cli use exactly single character for short option + +Use exactly one single character for short option in Airflow cli, New commands are available according to the following table: + +| Old command | New command | +|----------------------------------------------------|---------------------------------------------------| +| ``airflow (dags|tasks|scheduler) [-sd, --subdir]`` | ``airflow (dags|tasks|scheduler) [-S, --subdir]`` | +| ``airflow tasks test [-dr, --dry_run]`` | ``airflow tasks test [-dr, --dry_run]`` | +| ``airflow dags backfill [-dr, --dry_run]`` | ``airflow dags backfill [-d, --dry_run]`` | +| ``airflow tasks clear [-dx, --dag_regex]`` | ``airflow tasks clear [-R, --dag_regex]`` | +| ``airflow kerberos [-kt, --keytab]`` | ``airflow kerberos [-k, --keytab]`` | +| ``airflow tasks run [-int, --interactive]`` | ``airflow tasks run [-N, --interactive]`` | +| ``airflow webserver [-hn, --hostname]`` | ``airflow webserver [-H, --hostname]`` | +| ``airflow celery worker [-cn, --celery_hostname]`` | ``airflow celery worker [-H, --celery_hostname]`` | +| ``airflow celery flower [-hn, --hostname]`` | ``airflow celery flower [-H, --hostname]`` | +| ``airflow celery flower [-fc, --flower_conf]`` | ``airflow celery flower [-c, --flower_conf]`` | Review comment: -c is already used. ``` 'conf': Arg( ('-c', '--conf'), "JSON string that gets pickled into the DagRun's conf attribute"), ``` ---------------------------------------------------------------- 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: users@infra.apache.org With regards, Apache Git Services