Mercurial > hg > octave-lyh
comparison src/oct-hist.cc @ 11405:51b6193e90bb
Documentation fixes
* input.cc (PS1): Give an example of how PS1 can use ANSI escape
codes for getting a colourised prompt.
* oct-hist.cc (history): Correct documentation about how
history('-r') appends to history, doesn't replace it.
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Wed, 22 Dec 2010 03:53:39 -0500 |
parents | 944b7e20fc5a |
children | a1deab9a6e71 |
comparison
equal
deleted
inserted
replaced
11404:c98a8348971b | 11405:51b6193e90bb |
---|---|
595 @item -w @var{file}\n\ | 595 @item -w @var{file}\n\ |
596 Write the current history to the file @var{file}. If the name is\n\ | 596 Write the current history to the file @var{file}. If the name is\n\ |
597 omitted, use the default history file (normally @file{~/.octave_hist}).\n\ | 597 omitted, use the default history file (normally @file{~/.octave_hist}).\n\ |
598 \n\ | 598 \n\ |
599 @item -r @var{file}\n\ | 599 @item -r @var{file}\n\ |
600 Read the file @var{file}, replacing the current history list with its\n\ | 600 Read the file @var{file}, appending its contents to the current \n\ |
601 contents. If the name is omitted, use the default history file\n\ | 601 history list. If the name is omitted, use the default history file\n\ |
602 (normally @file{~/.octave_hist}).\n\ | 602 (normally @file{~/.octave_hist}).\n\ |
603 \n\ | 603 \n\ |
604 @item @var{n}\n\ | 604 @item @var{n}\n\ |
605 Display only the most recent @var{n} lines of history.\n\ | 605 Display only the most recent @var{n} lines of history.\n\ |
606 \n\ | 606 \n\ |