diff options
| author | Simon John <git@the-jedi.co.uk> | 2014-04-12 00:36:11 +0200 |
|---|---|---|
| committer | Sudar <sudar@sudarmuthu.com> | 2014-04-13 09:56:20 +0530 |
| commit | fc54954d0f6da51ea05f83002dca47b4a276e16f (patch) | |
| tree | 68ecd0834920789fbb5c9a36846b3ba82621d12c | |
| parent | ba2b27db28e1029f07c30569185c8a2b7848f6db (diff) | |
Add manpage back to specfile
Includes following changes
- change author info
- add examples section
Fix #188
| -rw-r--r-- | ard-reset-arduino.1 | 48 | ||||
| -rw-r--r-- | packaging/fedora/arduino-mk.spec | 5 |
2 files changed, 53 insertions, 0 deletions
diff --git a/ard-reset-arduino.1 b/ard-reset-arduino.1 new file mode 100644 index 0000000..fa05597 --- /dev/null +++ b/ard-reset-arduino.1 @@ -0,0 +1,48 @@ +.TH ARD-RESET-ARDUINO "1" "April 2014" "ard-reset-arduino 1.3.2" "Arduino CLI Reset" + +.SH NAME +ard-reset-arduino \- Reset Arduino board + +.SH SYNOPSIS +.B ard-reset-arduino +[OPTION]... [PORT] + +.SH DESCRIPTION +To reset Arduinos, we either pulse the DTR line or open the USB port +at 1200 baud and close it again. + +.SH OPTIONS +.B --verbose +Watch what's going on on STDERR. + +.B --period +Specify the DTR pulse width in seconds. + +.B --caterina +Reset a Leonardo, Micro, Robot, LilyPadUSB or similar 32u4-based device. + +.SH EXAMPLES +ard-reset-arduino /dev/ttyACM0 +.PP +ard-reset-arduino --verbose --period=0.1 /dev/cu.usb* +.PP +ard-reset-arduino --verbose --caterina /dev/ttyUSB0 + +.SH BUGS +There are no known bugs in this application. Please report problems +to the author. Patches are welcome. + +.SH AUTHOR +Simon John, git@the-jedi.co.uk + +.SH LICENSE +Copyright (c) 2014, Simon John. All rights reserved. +.PP +This file is free software; you can redistribute it and/or modify it +under the terms of the GNU Lesser General Public License as published +by the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. +.PP +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/packaging/fedora/arduino-mk.spec b/packaging/fedora/arduino-mk.spec index 5fdbed7..febd3b3 100644 --- a/packaging/fedora/arduino-mk.spec +++ b/packaging/fedora/arduino-mk.spec @@ -27,6 +27,7 @@ Arduino platform. %install mkdir -p %{buildroot}/%{_datadir}/arduino mkdir -p %{buildroot}/%{_bindir} +mkdir -p %{buildroot}/%{_mandir}/man1 mkdir -p %{buildroot}/%{_docdir}/%{name}/examples install -m 755 -d %{buildroot}/%{_docdir}/%{name} install -m 755 -d %{buildroot}/%{_docdir}/%{name}/examples @@ -35,6 +36,7 @@ for file in `find examples -type f ! -name .gitignore` ; do install -m 644 $file install -m 644 *.mk arduino-mk-vars.md %{buildroot}/%{_datadir}/arduino install -m 644 licence.txt %{buildroot}/%{_docdir}/%{name} install -m 755 bin/ard-reset-arduino %{buildroot}/%{_bindir}/ard-reset-arduino +install -m 644 ard-reset-arduino.1 %{buildroot}/%{_mandir}/man1 %clean rm -rf %{buildroot} @@ -42,6 +44,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/ard-reset-arduino +%{_mandir}/man1/ard-reset-arduino.1* %{_datadir}/arduino/*.mk %{_datadir}/arduino/arduino-mk-vars.md %doc %{_docdir}/%{name}/licence.txt @@ -49,6 +52,8 @@ rm -rf %{buildroot} %{_docdir}/%{name}/examples %changelog +* Sat Apr 12 2014 Simon John <git@the-jedi.co.uk> +- Put manpage back. * Fri Apr 04 2014 Simon John <git@the-jedi.co.uk> - Removed BuildRequires of python3/pyserial. * Wed Apr 02 2014 Simon John <git@the-jedi.co.uk> |
