📄 mpdhelp.py
字号:
#!/usr/bin/env pythondef mpdhelp(): print """The following mpd commands are available. For usage of any specific one,invoke it with the single argument --help .mpd start an mpd daemonmpdtrace show all mpd's in ringmpdboot start a ring of daemons all at oncempdringtest test how long it takes for a message to circle the ring mpdallexit take down all daemons in ringmpdcleanup repair local Unix socket if ring crashed badlympdrun start a parallel jobmpdlistjobs list processes of jobs (-a or --all: all jobs for all users)mpdkilljob kill all processes of a single jobmpdsigjob deliver a specific signal to the application processes of a jobEach command can be invoked with the --help argument, which prints usageinformation for the command without running it."""if __name__ == '__main__': try: mpdhelp() except mpdError, errmsg: print 'mpdhelp failed: %s' % (errmsg)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -