Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Add a version to the help output
Browse files Browse the repository at this point in the history
  • Loading branch information
De Wildt van Reenen authored and De Wildt van Reenen committed Jan 4, 2017
1 parent 4821032 commit 51ae762
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cal-sync/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
import Foundation
import EventKit

let VERSION = "v0.1.1-beta" // also update in project settings in case we bundle this properly one day

func printHelp() {
print("\nUsage: cal-sync <arguments>")
print("\nCalendar sync utility \(VERSION)")
print("\n Usage: cal-sync <arguments>")
print(" --help print this help message")
print(" --list List available calendars ")
print(" --src <calendar ID> ID of source calendar to copy from ")
Expand Down

0 comments on commit 51ae762

Please sign in to comment.