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

Improve handling of URLs #64

Merged
merged 2 commits into from
Oct 3, 2016
Merged

Improve handling of URLs #64

merged 2 commits into from
Oct 3, 2016

Conversation

execriez
Copy link

@execriez execriez commented Oct 3, 2016

  1. Currently, the --find and --list options ignore URLs

For example,
If you add a fileserver URL to the dock like this:

dockutil --add "smb://myserver/Data/Shared" --label "I Drive"

...then do a list:

dockutil --list

...the entry doesn't list.

The --find option also ignores such entries.

  1. Specifying a path as a URL

Currently, if you specify a file or directory path as a URL like this:

dockutil --add "file://mydrive/Data/Shared"

...it is confused with a fileserver URL and is displayed as a globe in the dock.

The proposed changes address both issues.

execriez added 2 commits October 3, 2016 15:06
If you add a fileserver URL to the dock like this:

dockutil --add "smb://myserver/Data/Shared" --label "I Drive"

...then do a list:

dockutil --list

...the entry doesn't list.

The --find option also ignores such entries.
Allow use of “file://“ when specifying paths.
@kcrawford kcrawford merged commit 99fb837 into kcrawford:master Oct 3, 2016
@kcrawford
Copy link
Owner

Thanks for the fixes.

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.

2 participants