@@ -459,44 +459,6 @@ _stg-log() {
459
459
_arguments -s -S $subcmd_args
460
460
}
461
461
462
- _stg-mail () {
463
- local -a subcmd_args
464
- __stg_add_args_help
465
- __stg_add_args_branch
466
- __stg_add_args_diffopts
467
- subcmd_args+=(
468
- ' --to=[add address to To: list]:address'
469
- ' --cc=[add address to Cc: list]:address'
470
- ' --bcc=[add address to Bcc: list]:address'
471
- ' --auto[automatically cc patch signers]'
472
- ' --no-thread[do not send subsequent messages as replies]'
473
- ' --unrelated[send patches without sequence numbers]'
474
- ' (-v --version)' {-v,--version=}' [add version to subject prefix]:version'
475
- ' --prefix=[add prefix to subject]:prefix'
476
- ' (-c --cover)' {-c,--cover=}' [cover message file]: :_files'
477
- ' (-e --edit-cover)' {-e,--edit-cover}' [edit cover message before sending]'
478
- ' (-E --edit-patches)' {-E,--edit-patches}' [edit patches before sending]'
479
- ' (-s --sleep)' {-s,--sleep=}' [seconds to sleep between sending emails]:seconds'
480
- ' --in-reply-to=[reply reference id]:refid'
481
- ' --domain=[domain to use for message ID]:domain'
482
- ' (-u --user)' {-u,--user=}' [username for SMTP authentication]:user'
483
- ' (-p --password)' {-p,--password=}' [password for SMTP authentication]:password'
484
- ' (-T --smtp-tls)' {-t,--smtp-tls}' [use TLS for SMTP authentication]'
485
- + ' (send-method)'
486
- ' --git[use `git send-email`]'
487
- ' (-m --mbox)' {-m,--mbox}' [generate mbox file instead of sending]'
488
- ' --smtp-server=[server or command for sending email]'
489
- + ' (attachment)'
490
- ' --attach[send patch as attachment]'
491
- ' --attach-inline[send patch as inline attachment]'
492
- ' (-t --template)' {-t,--template=}' [message template file]: :_files'
493
- + ' (patches)'
494
- ' (-a --all)' {-a,--all}' [email all applied patches]'
495
- ' *:patches:__stg_dedup_inside_arguments __stg_patches --all'
496
- )
497
- _arguments -s -S $subcmd_args
498
- }
499
-
500
462
_stg-new () {
501
463
local curcontext=$curcontext state line ret=1
502
464
local -a subcmd_args
0 commit comments