grahampugh / jamf-upload

Scripts for uploading packages to Jamf Cloud
Apache License 2.0
150 stars 37 forks source link

jamf_pkg_upload.py: Categories that start with a dash '-' fail to pass argument check #26

Open SeanHansell opened 3 years ago

SeanHansell commented 3 years ago

These category names are valid in Jamf Pro, but the argument check fails with the error, even when properly quoted:

jamf_pkg_upload.py: error: argument --category: expected one argument
jamf_pkg_upload.py: error: argument --category: expected one argument
grahampugh commented 3 years ago

Did you put your category name in quotes?

Edit: I see you covered that. Ok will take a look.