Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds --remote-root option support for '=<param>' suffix. #572

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

avengerx
Copy link

@avengerx avengerx commented May 7, 2020

All other flags taking arguments support this currently. It means using:

--remote-root=my_remote_folder

should work with this change.

All other flags taking arguments support this currently.
@avengerx
Copy link
Author

avengerx commented May 7, 2020

I hope the blank lines cleanup is welcome (my editor audo-does this on save)

REMOTE_ROOT=$(expr "z$1" : 'z-[^=]*=\(.*\)')
;;
1,*)
print_error_and_die "Too few arguments for option --key." "$ERROR_MISSING_ARGUMENTS"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is a copy & past error. It should be option --remote-root

REMOTE_ROOT="$2"
shift
else
print_error_and_die "Too few arguments for option --key." "$ERROR_MISSING_ARGUMENTS"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here 😆

I think there is a copy & past error. It should be option --remote-root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants