Skip to content

Use os.PathListSeparator for list of folders in cmd-line args #2

Closed
@wayoda

Description

@wayoda

Being able to specify arbitrary folders for libraries is a nice feature, but please don't use the comma to separate the items in a list of folders.

Use the platform independent os.PathListSeparator (: on unix, ; on windows).

Why?

  • every commadline tool I know of does it that way. Users expect to seperate different paths by their local path separator character
  • Go has a function to split a list of folders based on the os.PathListSeparator constant

Eberhard

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions