<table><tr><td style="">yuyichao created this revision.<br />yuyichao added reviewers: djarvie, lbeltrame.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />yuyichao requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28704">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This was broken in <a href="https://phabricator.kde.org/R205:c5897d0eabf515a82a62429a726819cb60e255ae" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">c5897d0eabf515a82a62429a726819cb60e255ae</a> suggesting<br />
that it might be needed to</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>fix --help, --version and option errors not being reported on the<br />
 terminal if another instance of KAlarm is already running.</p></blockquote>

<p>Testing suggests that this is not the case, especially since<br />
the printing to the terminal was handled directly by <tt style="background: #ebebeb; font-size: 13px;">process</tt><br />
in which case it'll never return. I don't really see how the<br />
printing could be stopped unless <tt style="background: #ebebeb; font-size: 13px;">stdout</tt> or <tt style="background: #ebebeb; font-size: 13px;">stderr</tt> is overriden,<br />
which doesn't seem to be the case.</p>

<p>This is the same as how KDE builtin options are currently handled.</p>

<p>Also remove now unused EXIT command.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R205 KAlarm</div></div></div><br /><div><strong>BRANCH</strong><div><div>help</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28704">https://phabricator.kde.org/D28704</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/commandoptions.cpp<br />
src/commandoptions.h<br />
src/kalarmapp.cpp</div></div></div><br /><div><strong>To: </strong>yuyichao, djarvie, lbeltrame<br /><strong>Cc: </strong>kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>