The following command line options are recognized by the gnomecal program. You can use these options to alter the behaviour of the program or to quickly query the program for appointments, and to do items from the command line without requiring an X display. These are useful for example to include in scripts.
--events. Displays the events for the date specified (or today, if no date is specified).
--from DATE. Define the beginning of the range for the event display, or the startup day on the calenday views. By default, the event will span the whole day specified in DATE.
--to DATE. Define the range end for the event display. If this is not specified, it will default to the end of the day specified by the --from option.
--file FILE. Set the calendar to the FILE specified on the command line.
--todo. Dumps the to-do values to standard output.
--userfile. Use this if you want to force the file to be loaded to be the default user's calendar (this is the default, only used to override the --file if you have some sort of macro.
--geometry. Used to specity the startup geometry of the application (location and size).
--view VIEWMODE. Use this to specify the startup view that should be used. VIEWMODE is one of: dayview, weekview, monthview, yearview.
DATE is interpreted as being in the local time-zone, unless a specific timezone is specified. Examples of valid date specifications include: "1 month ago", "2 hours ago", "400000 seconds ago", "last year", "last Monday", "yesterday", "a fortnight ago", "3/31/92 10:00:07 PST", "January 23, 1987 10:05pm", "22:00 GMT".