Skip to content

1. Add a Makefile 2. Fix typos 3. change ways to parse CLI parameters#5

Merged
examplecode merged 1 commit into
examplecode:masterfrom
dryruner:master
Oct 29, 2014
Merged

1. Add a Makefile 2. Fix typos 3. change ways to parse CLI parameters#5
examplecode merged 1 commit into
examplecode:masterfrom
dryruner:master

Conversation

@dryruner

Copy link
Copy Markdown
  1. Add a Makefile
  2. Fix the typo: "deamon" ==> "daemon"
  3. Change the ways to parse command-line-argument, using getopt() to make code more consise and readable, without affecting its functionality.

Signed-off-by: Siyuan Hua jonnyhsy@foxmail.com

2. Fix the typo: "deamon" ==> "daemon"
3. Change the ways to parse command-line-argument, using getopt() to make code more consise and readable, without affecting its functionality.

Signed-off-by: Siyuan Hua <jonnyhsy@foxmail.com>
Comment thread Makefile

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is '-r' option necessary? According to the rm manual, I don't think so.

Linux man-page 'rm':

-r, -R, --recursive
remove directories and their contents recursively

@xuchunyang

Copy link
Copy Markdown

As your commit message suggests, you are doing three different things, so you'd better do THREE small commits instead of a big one.

examplecode added a commit that referenced this pull request Oct 29, 2014
1. Add a Makefile 2. Fix typos 3. change ways to parse CLI parameters
@examplecode examplecode merged commit 2acc93e into examplecode:master Oct 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants