summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-17 10:50:45 +0100
committerStefano Karapetsas <[email protected]>2014-02-17 10:50:45 +0100
commit0b5095a405bf35c0057266ff2bbf0805f7b18053 (patch)
treea2b993d85c7e245b41513b179b678e2d6bb7142c
parent9c17d94043bde4dbe6831648792cf508a54813f4 (diff)
parentb3986be389df274f111c6bfc1645d14c8b45b5de (diff)
downloadmate-calc-0b5095a405bf35c0057266ff2bbf0805f7b18053.tar.bz2
mate-calc-0b5095a405bf35c0057266ff2bbf0805f7b18053.tar.xz
Merge pull request #23 from hekel/master
Update Manual
-rw-r--r--data/mate-calc-cmd.133
-rw-r--r--data/mate-calc.179
2 files changed, 70 insertions, 42 deletions
diff --git a/data/mate-calc-cmd.1 b/data/mate-calc-cmd.1
index c8cc98e..826abfa 100644
--- a/data/mate-calc-cmd.1
+++ b/data/mate-calc-cmd.1
@@ -1,17 +1,18 @@
.\" Copyright (c) 2011 Jean Schurger
-.TH MATE-CALC-CMD 1 "17 March 2011"
-.SH NAME
-mate-calc-cmd \- a console calculator
-.SH SYNOPSIS
-.B mate-calc-cmd
-
-.SH DESCRIPTION
-.B mate-calc-cmd
-is the console version of
-.B mate-calc
-the calculator of the MATE desktop environment.
-
-.SH SEE ALSO
-.B mate-calc
-.sp
-.LP
+.\" Man page for mate-calc
+.TH MATE-CALC-CMD 1 "1 February 2014" "MATE Desktop Environment" "General Manual"
+.\" Please adjust this date when revising the manpage.
+.\"
+.SH "NAME"
+mate-calc-cmd \- A console calculator for the MATE Desktop Environment.
+.SH "SYNOPSIS"
+\fBmate-calc-cmd\fR
+.SH "DESCRIPTION"
+\fBmate-calc-cmd\fR is the console version of \fBmate-calc\fR, the calculator for the MATE Desktop Environment.
+.SH "BUGS"
+.SS Should you encounter any bugs, they may be reported at:
+http://github.com/mate-desktop/mate-calc/issues
+.SH "SEE ALSO"
+.SS Further information may also be available at: http://wiki.mate-desktop.org/docs
+.P
+.BR mate-calc (1)
diff --git a/data/mate-calc.1 b/data/mate-calc.1
index 2abe5cd..8beb570 100644
--- a/data/mate-calc.1
+++ b/data/mate-calc.1
@@ -1,31 +1,58 @@
-.\" Copyright (c) 1987-2008 - Sun Microsystems, Inc.
-.TH mate-calc 1 "17 June 2009"
-.SH NAME
-mate-calc \- a desktop calculator
-.SH SYNOPSIS
-.B mate-calc
-[
-.I OPTION
-] ...
-.SH DESCRIPTION
-.B mate-calc
-is the official calculator of the MATE desktop environment.
-.SH OPTIONS
+.\" Man page for mate-calc
+.TH MATE-CALC 1 "1 February 2014" "MATE Desktop Environment"
+.\" Please adjust this date when revising the manpage.
+.\"
+.SH "NAME"
+mate-calc \- (mate-calculator) \- The MATE Desktop Environment Calculator
+.SH "SYNOPSIS"
+.B mate-calc [OPTIONS...] [FILES...]
+.SH "DESCRIPTION"
+\fBmate-calc\fR is the official calculator for the MATE Desktop Environment. It has been designed to be used with either the mouse or the keyboard. It is visually similar to a lot of hand-held calculators.
+.PP
+This manual page briefly documents the \fBmate-calc\fR command.
+.SH "OPTIONS"
.TP
-.B \-s, \-\-solve
+\fB\-s, \-\-solve\fR <equation>
Solve the equation provided following this option.
.TP
-.B \-u, \-\-unittest
-Run the unit tests.
-.TP
-.B \-v, \-\-version
+\fB\-\-version\fR
Output version information and exit.
.TP
-.B \-h, \-?, \-\-help
-Prints the command line options.
-.SH SEE ALSO
-.PD 0
-.TP 18
-.B mate-calc-cmd
-.sp
-.LP
+\fB\-h, \-?, \-\-help\fR
+Print standard command line options.
+.TP
+\fB\-\-help\-all\fR
+Print all command line options.
+.P
+This program also accepts the standard GTK options.
+.SH "EXAMPLES"
+\fBmate-calc \-s 4*10.5\fR
+.RS 4
+Multiply 4 by 10.5
+.RE
+.PP
+\fBmate-calc \-s 21+21\fR
+.RS 4
+Add 21 plus 21
+.RE
+.PP
+\fBmate-calc \-\-solve '((5.25×4)×2)'\fR
+.RS 4
+Multiply 5.25 by 4 and their product by 2
+.RE
+.PP
+\fBmate-calc
+.RS 4
+Open the Calculator GUI.
+.SH "BUGS"
+.SS Should you encounter any bugs, they may be reported at:
+http://github.com/mate-desktop/mate-calc/issues
+.SH "AUTHORS"
+.SS This Man Page has been written for the MATE Desktop Environment by:
+Adam Erdman <[email protected]> (2014)
+.SH "SEE ALSO"
+.SS
+mate-calc documentation can be found from the "Help" menu, or by pressing the F1 key.
+Further information may also be available at: http://wiki.mate-desktop.org/docs
+.P
+.BR mate-calc-cmd (1)