/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/ja/user-guide/entering_commands.txt

terminal_width can now returns None.

* bzrlib/win32utils.py:
(get_console_size): Fix typo in comment.

* bzrlib/ui/text.py:
(TextProgressView._show_line): Handle the no terminal present case.

* bzrlib/tests/test_osutils.py:
(TestTerminalWidth): Update tests.

* bzrlib/tests/blackbox/test_too_much.py:
Fix some imports.
(OldTests.test_bzr): Handle the no terminal present case.

* bzrlib/tests/__init__.py:
(VerboseTestResult.report_test_start): Handle the no terminal
present case.

* bzrlib/status.py:
(show_pending_merges): Handle the no terminal present case.
(show_pending_merges.show_log_message): Factor out some
code. Handle the no terminal present case.

* bzrlib/osutils.py:
(terminal_width): Return None if no precise value can be found.

* bzrlib/log.py:
(LineLogFormatter.__init__): Handle the no terminal present case.
(LineLogFormatter.truncate): Accept None as max_len meaning no
truncation.
(LineLogFormatter.log_string): 

* bzrlib/help.py:
(_help_commands_to_text): Handle the no terminal present case.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
コマンドを入力する
2
 
===================
3
 
 
4
 
ユーザーインターフェイス
5
 
-------------------------
6
 
 
7
 
Bazaarに対して利用可能な数多くのユーザーインターフェイスが存在します。
8
 
コアパッケージは **bzr** と呼ばれるコマンドラインツールを提供し
9
 
グラフィカルユーザーインターフェイス(GUI)はプラグインとして利用できます。
10
 
 
11
 
bzrを使う
12
 
---------
13
 
 
14
 
構文は次のとおりです::
15
 
 
16
 
  bzr [グローバルオプション] command [オプションと引数]
17
 
 
18
 
グローバルオプションはBazaarの動作方法に影響を与え ``command`` の前後に現れます。コマンド特有のオプションはコマンドの後で指定しなければなりませんが、コマンド固有の引数の前後と間で指定することができます。
19
 
 
20
 
共通のオプション
21
 
-----------------
22
 
 
23
 
下記で示されるいくつかのオプションはすべてのコマンドに対して有効です。
24
 
 
25
 
  ==========  =========  =================
26
 
  短い形式    長い形式   説明
27
 
  ==========  =========  =================
28
 
  -h          --help     get help
29
 
  -v          --verbose  be more verbose
30
 
  -q          --quiet    be more quiet
31
 
  ==========  =========  =================
32
 
 
33
 
Quietモードはエラーと警告のみを表示します。これはスクリプトで使う際に便利です。
34
 
 
35
 
注: 大抵のコマンドは1つのレベルの冗長性だけをサポートします。今後これは変更されるかもしれません。
36
 
高度な冗長性を求めるためには、-vオプションを複数回指定するだけです。