Skip to content

Commit

Permalink
Indicate that title is required. Punctuation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shea Craig committed Mar 24, 2015
1 parent b22798e commit 37b8680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yo/YoCommandLine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class YoCommandLine {
let banner = BoolOption(shortFlag: "m", longFlag: "banner-mode", helpMessage: "Does not work! Set if you would like to send a non-persistent notification. No buttons will be available if set.")
let ignoresDoNotDisturb = BoolOption(shortFlag: "d", longFlag: "ignores-do-not-disturb", helpMessage: "Set to make your notification appear even if computer is in do-not-disturb mode.")
let lockscreenOnly = BoolOption(shortFlag: "l", longFlag: "lockscreen-only", helpMessage: "Set to make your notification appear only if computer is locked. If set, no buttons will be available.")
let title = StringOption(shortFlag: "t", longFlag: "title", required: true, helpMessage: "Title for notification")
let subtitle = StringOption(shortFlag: "s", longFlag: "subtitle", required: false, helpMessage: "Subtitle for notification")
let title = StringOption(shortFlag: "t", longFlag: "title", required: true, helpMessage: "Title for notification. REQUIRED.")
let subtitle = StringOption(shortFlag: "s", longFlag: "subtitle", required: false, helpMessage: "Subtitle for notification.")
let informativeText = StringOption(shortFlag: "n", longFlag: "info", required: false, helpMessage: "Informative text.")
let actionBtnText = StringOption(shortFlag: "b", longFlag: "action-btn", required: false, helpMessage: "Include an action button, with the button label text supplied to this argument.")
let otherBtnText = StringOption(shortFlag: "o", longFlag: "other-btn", required: false, helpMessage: "Alternate label for cancel button text.")
Expand Down

0 comments on commit 37b8680

Please sign in to comment.