Skip to content

If key contain - in front of it, plutil won't work properly. #2

@just4fun20

Description

@just4fun20

/usr/bin/plutil -key "BuildVersion" /some.plist
Works perfectly return the correct result.

/usr/bin/plutil -key "-BuildVersion" /some.plist
Error: No file names specified. Bailing.
Seem it take the second - as a parameter.

Is this working as designed or I am doing something wrong.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions