diff options
Diffstat (limited to 'python/macholib/doc/scripts.rst')
-rw-r--r-- | python/macholib/doc/scripts.rst | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/python/macholib/doc/scripts.rst b/python/macholib/doc/scripts.rst new file mode 100644 index 000000000..50cf38028 --- /dev/null +++ b/python/macholib/doc/scripts.rst @@ -0,0 +1,35 @@ +Command-line tools +================== + +python -m macholib find +----------------------- + +Usage:: + + $ python -mmacholib find dir... + +Print the paths of all MachO binaries +in the specified directories. + +python -m macholib standalone +----------------------------- + +Usage:: + + $ python -m macholib standalone appbundle... + +Convert one or more application bundles into +standalone bundles. That is, copy all non-system +shared libraries and frameworks used by the bundle +into the bundle and rewrite load commands. + +python -mmacholib dump +---------------------- + +Usage:: + + $ python -mmacholib dump dir... + +Prints information about all architectures in a +Mach-O file as well as all libraries it links +to. |