Skip to content

Display git init usage syntax if directory argument begins with a dash

Ed requested to merge (removed):293-gdk-init-help-response into master

If <dir> in "gdk init <dir>" started with a '-' character, the script would fail when trying to git clone into a directory starting with a dash.

This merge request simply checks if <dir> starts with a '-' and displays the usage syntax. Note that this does not support initializing into a directory that begins with a dash.

Closes #293 (closed).

Edited by Ed

Merge request reports