in Sources/sh-parser/main.swift [21:40]
init() {
// Default to item
self.headerType = .item
for argument in CommandLine.arguments.dropFirst() {
switch argument {
case "--dictionary":
self.headerType = .dictionary
case "--list":
self.headerType = .list
case "--item":
self.headerType = .item
default:
Self.helpAndExit()
}
}
}