saidiraja opened a new pull request, #66136: URL: https://github.com/apache/airflow/pull/66136
### What is this change about? The CLI documentation still mentions the `--subdir` argument to select a DAG directory. However, in Airflow 3.x, this argument is no longer supported. The CLI now uses `--dagfile-path` (`-f`) instead. ### What is the problem? Users following the documentation may try to use `--subdir`, which results in: airflow command error: unrecognized arguments: --subdir This creates confusion, especially for new users. ### What is the fix? - Remove outdated reference to `--subdir` - Add a note explaining its removal in Airflow 3.x - Provide the correct usage using `-f` ### Additional context This was verified using Airflow 3.2.0 CLI help output (`airflow dags test --help`), which shows `--dagfile-path` but no `--subdir`. --- This is a documentation-only change. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
