Skip to content

Commit

Permalink
Merge pull request #792 from yangfl/master
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
hluk committed Sep 12, 2017
2 parents 7526a43 + 274adb9 commit 129f6aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 2 additions & 7 deletions debian/copyq.1
Original file line number Diff line number Diff line change
Expand Up @@ -151,18 +151,14 @@ Print help for COMMAND or all commands.


.SH NOTES
Use \fBdash argument\fR (\fB\-\fR) to read data from stdandard input.
Use \fBdash argument\fR (\fB\-\fR) to read data from standard input.
.sp
Use \fBdouble-dash argument\fR (\fB\-\-\fR) to read all following arguments without expanding escape sequences (i.e. \\n, \\t and others).
.sp
Use \fB?\fR for MIME to print available MIME types (default is "text/plain").
.sp
You can read more about it at
.B https://copyq.readthedocs.io/en/latest/basic-usage.html


.SH EXAMPLES

.TP
Insert some texts to the history:
copyq add "first item" "second item" "third item"
Expand Down Expand Up @@ -199,7 +195,6 @@ copyq write image/svg - < image.svg


.SH AUTHOR
.B CopyQ
The maintainer of CopyQ is Lukas Holecek <hluk@email.cz>. A comprehensive list of authors and contributors is available in the website mentioned above.
The maintainer of CopyQ is Lukas Holecek <hluk@email.cz>. A comprehensive list of authors and contributors is available in the AUTHORS file.

This manual page was written by GengYu Rao (zouyoo@outlook.com), for the Debian project (and may be used by others).
4 changes: 2 additions & 2 deletions src/scriptable/scriptable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ QString helpHead()
QString helpTail()
{
return Scriptable::tr("NOTES:") + "\n"
+ Scriptable::tr(" - Use dash argument (-) to read data from stdandard input.") + "\n"
+ Scriptable::tr(" - Use dash argument (-) to read data from standard input.") + "\n"
+ Scriptable::tr(" - Use double-dash argument (--) to read all following arguments without\n"
" expanding escape sequences (i.e. \\n, \\t and others).") + "\n"
+ Scriptable::tr(" - Use ? for MIME to print available MIME types (default is \"text/plain\").");
Expand Down Expand Up @@ -1356,7 +1356,7 @@ QScriptValue Scriptable::eval()
const auto script = arg(0);
const auto result = eval(script);
m_skipArguments = -1;
return result;
return result;
}

QScriptValue Scriptable::source()
Expand Down

0 comments on commit 129f6aa

Please sign in to comment.