[rt-devel] Confusing user interface in commandline rt
Rich Lafferty
rich+rt at lafferty.ca
Mon Jun 3 17:29:03 EDT 2002
On Mon, Jun 03, 2002 at 04:23:34PM -0400, stoffel at lucent.com (stoffel at lucent.com) wrote:
>
> I'd vote that we change this now, since I'm one of the few who use the
> command line tool all the time, this would be sure to screw me up.
Here's one to hold you over.
-Rich
--
Rich Lafferty --------------+-----------------------------------------------
Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus!
http://www.lafferty.ca/ | http://zapatopi.net/treeoctopus.html
rich at lafferty.ca -----------+-----------------------------------------------
--- rt-orig/bin/rt Mon Jun 3 08:44:04 2002
+++ rt/bin/rt Mon Jun 3 08:56:05 2002
@@ -130,32 +130,32 @@
"history|show" => \$history,
"summary:s" => \$summary,
"create" => \$create,
- "keywords=s" => \@keywords,
- "requestor|requestors=s" => \@requestors,
- "cc=s" => \@cc,
- "admincc=s" => \@admincc,
- "status=s" => \$status,
- "subject=s" => \$subject,
- "owner=s" => \$owner,
- "queue=s" => \$queue,
+ "set-keywords=s" => \@keywords,
+ "set-requestor|set-requestors=s" => \@requestors,
+ "set-cc=s" => \@cc,
+ "set-admincc=s" => \@admincc,
+ "set-status=s" => \$status,
+ "set-subject=s" => \$subject,
+ "set-owner=s" => \$owner,
+ "set-queue=s" => \$queue,
- "priority=i" => \$priority,
- "final-priority=i" => \$final_priority,
- "due=s" => \$due,
- "starts=s" => \$starts,
- "started=s" => \$started,
- "contacted=s" => \$contacted,
+ "set-priority=i" => \$priority,
+ "set-final-priority=i" => \$final_priority,
+ "set-due=s" => \$due,
+ "set-starts=s" => \$starts,
+ "set-started=s" => \$started,
+ "set-contacted=s" => \$contacted,
"comment", \$comment,
"reply|respond", \$reply,
"source=s" => \$source,
"edit!" => \$edit,
- "depends-on=s" => \@dependson,
- "member-of=s" => \@memberof,
+ "set-depends-on=s" => \@dependson,
+ "set-member-of=s" => \@memberof,
"merge-into=s" => \$mergeinto,
- "refers-to=s" => \@refersto,
- "time-left=i" => \$time_left,
- "time-taken=i" => \$time_taken,
+ "set-refers-to=s" => \@refersto,
+ "set-time-left=i" => \$time_left,
+ "set-time-taken=i" => \$time_taken,
"verbose+" => \$verbose,
"debug" => \$debug,
"version" => \$version,
@@ -239,51 +239,51 @@
Attributes
Basics
- --status=<new|open|stalled|resolved|dead>
+ --set-status=<new|open|stalled|resolved|dead>
sets status
- --subject=<subject>
+ --set-subject=<subject>
sets subject
- --owner=<userid>
+ --set-owner=<userid>
set owner to
- --queue=<queueid>
+ --set-queue=<queueid>
set queue to
- --priority=<int>
+ --set-priority=<int>
- --final-priority=<int>
+ --set-final-priority=<int>
Watchers
- --requestors=[+|-]<userid|email address>
+ --set-requestors=[+|-]<userid|email address>
add or remove this user as a ticket requestor
- --cc=[+|-]<userid|email address>
+ --set-cc=[+|-]<userid|email address>
add or remove this user as a ticket cc
- --admincc=[+|-]<userid|email address>
+ --set-admincc=[+|-]<userid|email address>
add or remove this user as a ticket admincc
(When creating tickets, just leave off the + or - )
Keywords
- --keywords[+|-]<keyword_select>/<keyword>
+ --set-keywords[+|-]<keyword_select>/<keyword>
Add or remove a keyword.
Dates
- --due=<date>
- --starts=<date>
- --started=<date>
- --contacted=<date>
+ --set-due=<date>
+ --set-starts=<date>
+ --set-started=<date>
+ --set-contacted=<date>
- --time-left=<int>
+ --set-time-left=<int>
- --time-taken=<int>
+ --set-time-taken=<int>
Link related manipulation:
- --depends-on=[+|-]<ticketid>
- --member-of=[+|-]<ticketid>
- --refers-to=[+|-]<ticketid>
+ --set-depends-on=[+|-]<ticketid>
+ --set-member-of=[+|-]<ticketid>
+ --set-refers-to=[+|-]<ticketid>
--merge-into=<ticketid>
Comments and replies
More information about the Rt-devel
mailing list