11-29-2016, 12:45 PM
There's something wrong for sure. Don't you see this difference?
and
While both kind of look like a hyphen/minus, the second one is different. Such problem usually are created when copy/paste a string from a html source, maybe a website/blog post or an email. It's clearly not a minus char. Since getops can't recognize it as an option it must be the hash, because the hash/hashlist is always the first argument that is not an option.
Quote:--session
and
Quote:—-username
While both kind of look like a hyphen/minus, the second one is different. Such problem usually are created when copy/paste a string from a html source, maybe a website/blog post or an email. It's clearly not a minus char. Since getops can't recognize it as an option it must be the hash, because the hash/hashlist is always the first argument that is not an option.