Wikidata:Property proposal/has command line option

has command line option edit

Originally proposed at Wikidata:Property proposal/Natural science

Descriptionan option which is accepted by the software from the command line
Representsoption (Q28827890)
Data typeString
Domainsoftware (Q7397)
Allowed valuesregex: [a-zA-Z0-9]+
Examplecp (Q305946) → R, cp (Q305946) → f, cp (Q305946) → H, Windows Installer (Q181233) → help, Windows Installer (Q181233) → quiet
Planned useAdd command line option information from The Open Group Base Specifications, Issue 7 (Q29466943) to standard UNIX utility or command (Q18343316) items. Add command line option information for other common Unix/Linux software.

Motivation

On many operating systems, including those based on UNIX and Windows, software is designed to accept a number of options at runtime which impact how the software performs. This proposal doesn't capture the option prefix of - on UNIX systems and / on Windows systems. This is due to [1] stating that the prefix does not form part of the "option name".

Option-arguments (see option argument (Q28827897)) are also relevant, and could become a future qualifier property to this "has command line option" property proposal. "Operand" could also become a future property for software separate from this one (see Option-operand separation (Q7098998) for the reason why). Pixeldomain (talk) 04:44, 29 January 2018 (UTC)[reply]

Discussion

  Support Ok, I like the idea of using has effect (P1542) as a qualifier to describe the effect of the option, this does sound quite useful then. @Pintoch: I don't think there are many cases of command-line programs with more than 2 dozen or so options (ok, 'ls' has 38 on my system here, but that's a bit extreme), at least for the scope Pixeldomain has defined here of standard UNIX utilities and related software, so I don't think it's a big deal to add those statements within wikidata itself. ArthurPSmith (talk) 15:25, 12 February 2018 (UTC)[reply]

@Pintoch, ديفيد عادل وهبة خليل 2, Pixeldomain, ArthurPSmith:   Done: has command line option (P4837). − Pintoch (talk) 11:33, 13 February 2018 (UTC)[reply]