Hi! > > > > S2ram could also use the usage() function from config.c to display its > > > > message. The only problem is that to replicate its current output we > > > > need to print comments too. To make this possible I made a little > > > > patch. The patch only works for s2disk currently, I didn't feel like > > > > adding the comments for s2ram/s2both if nobody likes the idea... > > > > > > I like it. :-) > > > > <AOL/> ;-) > > > > me, too. > > Because everybody is so enthusiastic, I updated the patch so it > works for s2ram/s2both too;) > > I also added an -r,--resume_device option to s2disk/s2both/resume. The > device as the last element on the cli still, works and overrides the > option, but it is no longer showed in usage(), because that would be > inappropriate for s2ram. > > Now the output looks like below, (we could loose the '[' and ']' IMHO). It's > not perfect, it is hard to align properly, especially because of the options > with arguments.
Yep, [] are unneccessary here. Patch looks ok to commmit. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel