Comment 52 for bug 849624

Revision history for this message
In , Philipp-bugzilla (philipp-bugzilla) wrote :

Created attachment 332310
Commandline options WiP - v6

This patch mostly works, there is one open issue I've discovered:

* Something is fishy with the menus, starting with -taskmode or -calendar gives
  a mix of both mail and calendar menus, works when switching back and forth
  modes

* Something is keeping -calendar from working. I'm too tired to debug this now
  but I think its a minor issue

* In case this gets ready before 0.9, there are still hardcoded strings that
  need to be localized after the release.

Also, we should think about what we want those switches to be called. Keep in mind they should be as sensible as possible for both sb and ltn. Right now I have

-calendar <view> Start calendar in <view>, where the <view> is optional
-taskmode Start lightning in task mode
-showdate <date> Show a specific date, parsed using jsdate
-url <type>,<url> Add a calendar of a specific type. When type, is
                         omitted it defaults to ICS.

I'm open to name changes and such. I could well imagine using:

-mode <mode> (i.e -mode calendar or -mode task)
-view <view> (i.e -view week or -view month)

instead.