瀏覽代碼

minor formatting changes to code, updated man pages, and bumped version

Siddharth Dushantha 3 年之前
父節點
當前提交
81b733ca46
共有 2 個文件被更改,包括 6 次插入1 次删除
  1. 3 1
      tmpmail
  2. 3 0
      tmpmail.1

+ 3 - 1
tmpmail

@@ -5,7 +5,7 @@
 # Dependencies: jq, curl, w3m
 #
 
-version=1.2.0
+version=1.2.1
 
 # By default 'tmpmail' uses 'w3m' as it's web browser to render
 # the HTML of the email
@@ -288,11 +288,13 @@ view_recent_email() {
     view_email "$mail_id"
 }
 
+
 copy_email_to_clipboard(){
     # Copy the email thats being used to the user's clipboard
     $copy_to_clipboard_cmd < $tmpmail_email_address
 }
 
+
 die() {
     # Print error message and exit
     #

+ 3 - 0
tmpmail.1

@@ -29,6 +29,9 @@ shows the email message with specified
 Specify
 .Ar BROWSER
 (default: w3m) that is used to render the HTML of the email
+.It Fl Fl clipboard-cmd Ar COMMAND
+Specify the COMMAND to use for copying the email address to your
+clipboard (default: xclip -selection c)
 .It Fl g , Fl Fl generate Op Ar ADDRESS
 Generate a new email address, either the specified
 .Ar ADDRESS ,