-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
futhark fmt deserves its own manpage.
- Loading branch information
Showing
4 changed files
with
47 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.. role:: ref(emphasis) | ||
|
||
.. _futhark-fmt(1): | ||
|
||
=========== | ||
futhark-fmt | ||
=========== | ||
|
||
SYNOPSIS | ||
======== | ||
|
||
futhark fmt [FILES] | ||
|
||
DESCRIPTION | ||
=========== | ||
|
||
Reformat the given Futhark programs. If no files are provided, read | ||
Futhark program on stdin and produce formatted output on stdout. If | ||
stdout is a terminal, the output will be syntax highlighted. | ||
|
||
In contrast to many other automatic formatters, the formatting is | ||
somewhat sensitive to the formatting of the input program. In | ||
particular, single-line expressions will usually be kept on a single | ||
line, even if they are very long. To force ``futhark fmt`` to break | ||
these, insert a linebreak at an arbitrary location. | ||
|
||
OPTIONS | ||
======= | ||
|
||
-h | ||
Print help text to standard output and exit. | ||
|
||
-V | ||
Print version information on standard output and exit. | ||
|
||
SEE ALSO | ||
======== | ||
|
||
:ref:`futhark-doc(1)` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters