Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update command line parameters syntax with the --name=value syntax #2

Closed
end2endzone opened this issue Nov 21, 2017 · 5 comments
Closed
Milestone

Comments

@end2endzone
Copy link
Owner

Rename arguments fields:

  • inputfile -> file
  • output folder -> output
  • header filename -> headerfile
  • function identifier -> identifier
  • chunk size -> chunksize

ie:
--file=/path/to/input/file
--output=/path/to/output/folder
--headerfile=SplashScreen.h
--identifier=SplashScreen
--chunksize=200

@end2endzone
Copy link
Owner Author

end2endzone commented Nov 21, 2017

Implement a --namespace argument to allow changing the default namespace from bin2cpp to the value specified by the argument.

Moved to Issue #16

@end2endzone
Copy link
Owner Author

end2endzone commented Nov 21, 2017

Implement a --help and --h to automatically print the help

Moved to issue #17

@end2endzone
Copy link
Owner Author

end2endzone commented Nov 21, 2017

Implement a --folder=value argument to add all files of a given folder.

Moved to issue #18

@end2endzone
Copy link
Owner Author

Rename argument chunksize to bytesperrow ?

@end2endzone end2endzone added this to the 2.0 milestone Dec 13, 2017
@end2endzone
Copy link
Owner Author

end2endzone commented Dec 16, 2017 via email

@end2endzone end2endzone changed the title Update command line parameters syntax Update command line parameters syntax with the --name=value syntax Dec 16, 2017
end2endzone added a commit that referenced this issue Dec 17, 2017
* issue2:
  Fixed issue #2: Update command line parameters syntax with the --name=value syntax
  Updated application Usage() which now defines --chunksize argument as 'bytes per row'. No need for an --bytesperrow alias or renaming the existing argument.
  Modified command line argument for the --name=value format.
  Added parseArgument() implementation for getting a size_t value.
  Moved code that has a higher change of being reused to a 'common' library.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant