You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enumSyncSource:String,ArgumentConvertible{case finder
case iptc
case both
publicinit(parser:ArgumentParser)throws{
if let value = parser.shift(){
if let value =SyncSource(rawValue: value){self.init(rawValue: value.rawValue)!
}else{throwArgumentError.invalidType(value: value, type:"SyncSource", argument:nil)}}else{throwArgumentError.missingValue(argument:nil)}}publicvardescription:String{returnself.rawValue
}}
Even though I did implement description I do not get a default value printed for a SyncSource option declared like this:
I am a bit of still learning the swift package manager, but I appear not to be able to update to the latest HEAD, the package manager insists on checking out the 0.8.0 version. Any hint how I can convince it to use the latest HEAD?
--
Jens-Uwe Mager <pgp-mailto:D5D75498>
I am using the following enum as an argument:
Even though I did implement description I do not get a default value printed for a SyncSource option declared like this:
The text was updated successfully, but these errors were encountered: