1,760
edits
Changes
→Instructions
* <b><code>filename1 filename2 </code></b> etc ... - any number of filenames from 1 to as many as the command-line supports.
If the first argument is <b><code>--user</code></b> or <b><code>-u</code></b>, then you all the usage report to be generated should be by based on user only.
If there is no filename provided at the command line, your program should get the login records from the 'last' command with the appropriate flags.