From 37b86802932a99b6a7a56c8e27de495bc367e376 Mon Sep 17 00:00:00 2001 From: Shea Craig Date: Tue, 24 Mar 2015 07:24:57 -0400 Subject: [PATCH] Indicate that title is required. Punctuation. --- yo/YoCommandLine.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yo/YoCommandLine.swift b/yo/YoCommandLine.swift index f2ee876..d73ecb5 100644 --- a/yo/YoCommandLine.swift +++ b/yo/YoCommandLine.swift @@ -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.")