Skip to content

Commit 682275a

Browse files
committed
Update the documentation for pycdlib-explorer.
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
1 parent ac26620 commit 682275a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

man/pycdlib-explorer.1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ require.
5050
Show the contents of the current working directory. The format of the output is:
5151
TYPE(F=file, D=directory) NAME.
5252
.TP
53+
.B "modify_file_in_place <iso_path> <src_filename>"
54+
Replace the contents of the file referred to in \fBiso_path\fR with the contents
55+
from \fBsrc_filename\fR.
56+
Warning: This command modifies the opened ISO file in-place.
57+
Also, the \fBsrc_filename\fR must occupy the same number of extents (2048-byte blocks) as the original file.
58+
.TP
5359
.B "mkdir <iso_path> [rr_name=<rr_name>] [joliet_path=<joliet_path>]"
5460
Make a new directory called \fBiso_path\fR.
5561
If the ISO is a Rock Ridge ISO, \fBrr_name\fR must be specified; otherwise, it must not be.

tools/pycdlib-explorer

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ class PyCdlibCmdLoop(cmd.Cmd):
401401
print('> modify_file_in_place <iso_path> <src_filename>')
402402
print('Replace the contents of the file within the ISO specified in <iso_path> with that of <src_filename>.')
403403
print('Warning: This command modifies the opened ISO file in-place.')
404-
print('You must start %s with the `--read-write` flag to enable this.' % (sys.argv[0]))
405404
print('<src_filename> must occupy the same number of extents as the original file.')
406405

407406
def do_modify_file_in_place(self, line):

0 commit comments

Comments
 (0)