aidin36 / tocc

A tag based file management system.
https://tocc.aidinhut.com/
Other
107 stars 19 forks source link

Executing tocc command without any arguments returns with no action #113

Open pruthig opened 9 years ago

pruthig commented 9 years ago

It should show usage verbose as output just like when we use --help option

aidin36 commented 9 years ago

You're right. Thanks for reporting that (:

alvarez5 commented 9 years ago

do you think would be able to handle it as a beginner? where should i look for this?

aidin36 commented 9 years ago

Yes, I think you can. (: I'ts a bug in CLI. Take a look at cli/src/main.cpp, this is where it begin. And where we parsed the cmd arguments.

P.S: Have you sent me a mail before? Have I introduced our work flow, mailing list, etc to you?

alvarez5 commented 9 years ago

hi aidin,

i tried couple of times to build source and run tocc so i can get the sense of it but it didn't worked up for me...

i tried to run bootstrap and it refers me to some .m4 files which i didn't understand completely and so i'm asking for you guidance at this subject. first i thought to run the cli version but i guess it doesn't really matter.

dor.

On Sun, Dec 28, 2014 at 6:27 PM, Aidin Gharibnavaz <notifications@github.com

wrote:

Yes, I think you can. (: I'ts a bug in CLI. Take a look at cli/src/main.cpp, this is where it begin. And where we parsed the cmd arguments.

P.S: Have you sent me a mail before? Have I introduced our work flow, mailing list, etc to you?

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-68211617.

DThiebaud commented 9 years ago

On 1/25/2015 4:16 AM, alvarez5 wrote:

hi aidin,

i tried couple of times to build source and run tocc so i can get the sense of it but it didn't worked up for me...

i tried to run bootstrap and it refers me to some .m4 files which i didn't understand completely and so i'm asking for you guidance at this subject. first i thought to run the cli version but i guess it doesn't really matter.

dor.

On Sun, Dec 28, 2014 at 6:27 PM, Aidin Gharibnavaz <notifications@github.com

wrote:

Yes, I think you can. (: I'ts a bug in CLI. Take a look at cli/src/main.cpp, this is where it begin. And where we parsed the cmd arguments.

P.S: Have you sent me a mail before? Have I introduced our work flow, mailing list, etc to you?

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-68211617.

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71361923.

What happens when you run bootstrap? What error message do you get?

alvarez5 commented 9 years ago

when i tried to run it on the libtocc i got: "libtoolize: You should add the contents of the following files to aclocal.m4': libtoolize:/usr/share/aclocal/libtool.m4' libtoolize: /usr/share/aclocal/ltoptions.m4' libtoolize:/usr/share/aclocal/ltversion.m4' libtoolize: /usr/share/aclocal/ltsugar.m4' libtoolize:/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding-I m4' to ACLOCAL_AMFLAGS in Makefile.am. ./bootstrap: 6: ./bootstrap: aclocal: not found"

and when i tried it on the cli: "./bootstrap: 5: ./bootstrap: aclocal: not found"

On Sun, Jan 25, 2015 at 12:55 PM, Dick Thiebaud notifications@github.com wrote:

On 1/25/2015 4:16 AM, alvarez5 wrote:

hi aidin,

i tried couple of times to build source and run tocc so i can get the sense of it but it didn't worked up for me...

i tried to run bootstrap and it refers me to some .m4 files which i didn't understand completely and so i'm asking for you guidance at this subject. first i thought to run the cli version but i guess it doesn't really matter.

dor.

On Sun, Dec 28, 2014 at 6:27 PM, Aidin Gharibnavaz <notifications@github.com

wrote:

Yes, I think you can. (: I'ts a bug in CLI. Take a look at cli/src/main.cpp, this is where it begin. And where we parsed the cmd arguments.

P.S: Have you sent me a mail before? Have I introduced our work flow, mailing list, etc to you?

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-68211617.

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71361923.

What happens when you run bootstrap? What error message do you get?

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71366205.

DThiebaud commented 9 years ago

Does the directory /usr/share/lclocal exist on your computer? Do the m4 files exist in this directory on your computer?

On 01/25/2015 06:36 AM, alvarez5 wrote:

when i tried to run it on the libtocc i got: "libtoolize: You should add the contents of the following files to aclocal.m4': libtoolize:/usr/share/aclocal/libtool.m4' libtoolize: /usr/share/aclocal/ltoptions.m4' libtoolize:/usr/share/aclocal/ltversion.m4' libtoolize: /usr/share/aclocal/ltsugar.m4' libtoolize:/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding-I m4' to ACLOCAL_AMFLAGS in Makefile.am. ./bootstrap: 6: ./bootstrap: aclocal: not found"

and when i tried it on the cli: "./bootstrap: 5: ./bootstrap: aclocal: not found"

On Sun, Jan 25, 2015 at 12:55 PM, Dick Thiebaud notifications@github.com wrote:

On 1/25/2015 4:16 AM, alvarez5 wrote:

hi aidin,

i tried couple of times to build source and run tocc so i can get the sense of it but it didn't worked up for me...

i tried to run bootstrap and it refers me to some .m4 files which i didn't understand completely and so i'm asking for you guidance at this subject. first i thought to run the cli version but i guess it doesn't really matter.

dor.

On Sun, Dec 28, 2014 at 6:27 PM, Aidin Gharibnavaz <notifications@github.com

wrote:

Yes, I think you can. (: I'ts a bug in CLI. Take a look at cli/src/main.cpp, this is where it begin. And where we parsed the cmd arguments.

P.S: Have you sent me a mail before? Have I introduced our work flow, mailing list, etc to you?

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-68211617.

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71361923.

What happens when you run bootstrap? What error message do you get?

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71366205.

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71368014.

DThiebaud commented 9 years ago

Is libtool installed on your computer? What OS are you running?

On 01/25/2015 06:36 AM, alvarez5 wrote:

when i tried to run it on the libtocc i got: "libtoolize: You should add the contents of the following files to aclocal.m4': libtoolize:/usr/share/aclocal/libtool.m4' libtoolize: /usr/share/aclocal/ltoptions.m4' libtoolize:/usr/share/aclocal/ltversion.m4' libtoolize: /usr/share/aclocal/ltsugar.m4' libtoolize:/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding-I m4' to ACLOCAL_AMFLAGS in Makefile.am. ./bootstrap: 6: ./bootstrap: aclocal: not found"

and when i tried it on the cli: "./bootstrap: 5: ./bootstrap: aclocal: not found"

On Sun, Jan 25, 2015 at 12:55 PM, Dick Thiebaud notifications@github.com wrote:

On 1/25/2015 4:16 AM, alvarez5 wrote:

hi aidin,

i tried couple of times to build source and run tocc so i can get the sense of it but it didn't worked up for me...

i tried to run bootstrap and it refers me to some .m4 files which i didn't understand completely and so i'm asking for you guidance at this subject. first i thought to run the cli version but i guess it doesn't really matter.

dor.

On Sun, Dec 28, 2014 at 6:27 PM, Aidin Gharibnavaz <notifications@github.com

wrote:

Yes, I think you can. (: I'ts a bug in CLI. Take a look at cli/src/main.cpp, this is where it begin. And where we parsed the cmd arguments.

P.S: Have you sent me a mail before? Have I introduced our work flow, mailing list, etc to you?

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-68211617.

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71361923.

What happens when you run bootstrap? What error message do you get?

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71366205.

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71368014.

alvarez5 commented 9 years ago

My OS is ubuntu 14.10.

/usr/share/aclocal/ exist on my computer, and all the files exist as well

On Wed, Jan 28, 2015 at 4:33 AM, Dick Thiebaud notifications@github.com wrote:

Is libtool installed on your computer? What OS are you running?

On 01/25/2015 06:36 AM, alvarez5 wrote:

when i tried to run it on the libtocc i got: "libtoolize: You should add the contents of the following files to aclocal.m4': libtoolize:/usr/share/aclocal/libtool.m4' libtoolize: /usr/share/aclocal/ltoptions.m4' libtoolize:/usr/share/aclocal/ltversion.m4' libtoolize: /usr/share/aclocal/ltsugar.m4' libtoolize:/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding-I m4' to ACLOCAL_AMFLAGS in Makefile.am. ./bootstrap: 6: ./bootstrap: aclocal: not found"

and when i tried it on the cli: "./bootstrap: 5: ./bootstrap: aclocal: not found"

On Sun, Jan 25, 2015 at 12:55 PM, Dick Thiebaud notifications@github.com wrote:

On 1/25/2015 4:16 AM, alvarez5 wrote:

hi aidin,

i tried couple of times to build source and run tocc so i can get the sense of it but it didn't worked up for me...

i tried to run bootstrap and it refers me to some .m4 files which i didn't understand completely and so i'm asking for you guidance at this subject. first i thought to run the cli version but i guess it doesn't really matter.

dor.

On Sun, Dec 28, 2014 at 6:27 PM, Aidin Gharibnavaz <notifications@github.com

wrote:

Yes, I think you can. (: I'ts a bug in CLI. Take a look at cli/src/main.cpp, this is where it begin. And where we parsed the cmd arguments.

P.S: Have you sent me a mail before? Have I introduced our work flow, mailing list, etc to you?

— Reply to this email directly or view it on GitHub <https://github.com/aidin36/tocc/issues/113#issuecomment-68211617 .

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71361923.

What happens when you run bootstrap? What error message do you get?

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71366205.

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71368014.

— Reply to this email directly or view it on GitHub https://github.com/aidin36/tocc/issues/113#issuecomment-71770929.

DThiebaud commented 2 years ago

Should I take this issue? It's a 4 line fix in main.cpp

aidin36 commented 2 years ago

@DThiebaud Sure, if you want.